| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | turmax | 3559 |
| 6 | tourist | 3541 |
| 7 | strapple | 3515 |
| 8 | ksun48 | 3461 |
| 9 | dXqwq | 3436 |
| 10 | Otomachi_Una | 3413 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 147 |
| 3 | Proof_by_QED | 147 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 142 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
|
0
How to solve A no using DP ? |
|
0
Draw a 3x3 matrix : { {1,2,3} , {4,5,6} , {7,8,9} } ; add (-1) with all elements ; mod all elements by column_number ; thus see for yourself |
|
0
Aren't all numbers in the matrix unique ? |
|
+18
Could someone please explain the DP approach of problem C of Div-2 ? |
|
0
Thanks . |
|
0
Could you please explain the process in detail ? |
|
0
The link describes it as "Smallest positive integer k such that n = +-1+-2+-...+-k for some choice of +'s and -'s." What's the relation between this and problem B ? |
|
0
For which problem ? |
|
+3
I used srand(time(0)) ; in your code and got WA at first at test-8 , then on test-10. But without using srand(time(0)) , your code gets AC . Any idea why this is happening ? |
|
0
How to solve A using triangle inequality ? |
|
0
You have solved similar problems like A-E ? If so , would you please give the links of some of those problems ? |
|
0
k > 0 |
|
0
Could you please explain the work of this line of your code ? ans = min(ans,pre[i-m]+suf[i+1]); |
|
0
Use freopen for reading & writing input-output from files. http://www.cplusplus.com/reference/cstdio/freopen/ |
|
0
Is there any significant difference between i) memset ( ctrN , 0 , sizeof ctrN ) ; and ii) memset ( ctrN , 0 , n * sizeof(ll) ) ; // assuming n is size of the array ctrN |
|
0
nice key-board . :) Would anyone please tell me the brand of it ?? |
|
0
Thanks . |
|
0
Thanks for the link. |
|
0
Auto comment: topic has been updated by UBERMENSCH. (previous revision, new revision, compare). |
| Name |
|---|


