| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 134 |
| 9 | maroonrk | 133 |
| 10 | qwexd | 130 |
|
+35
|
|
-10
Hunter X Hunter :) |
|
0
consider freq map has values [1,2] and [2,1] and x=1 so nfreq will be same as [1,2] and [2,1] now when you are looping in freq , when 1 comes , it will inc the count of 2 in nfreq , but in freq, the count of 2 will remain same as it was previous.....so you just need to change freq to nfreq in that loop |
|
0
can you provide some test cases? |
|
0
i think we can solve this by binary search ,since for all the possible values of k ( greater than the minimum ) we can accomodate the bundles of money so we can see a monotonic graph which proves we can apply binary search. |
|
On
piyush_pransukhka →
Invitation to CodeChef Starters 128 (Rated till 6-Stars) — 3rd April, 3 years ago
0
ohh got it, i didn't focus on it |
|
On
piyush_pransukhka →
Invitation to CodeChef Starters 128 (Rated till 6-Stars) — 3rd April, 3 years ago
0
Can someone help me in Problem XOR And Multiply |
|
0
approach for B ? |
|
0
i think , this should help https://www.youtube.com/watch?v=meGcKZYxVe8&list=PLauivoElc3ghk5480uu-T5nkEUY6Tbm6V&index=4 |
|
0
because of s=s+to_string(), instread of this , you can use s+=to_string(). Spoiler generally , these assignment operations in string are too costly , which causes TLE. |
|
0
As a tester, i can confim this you will gonna be fool by problems :) |
|
0
i read all of them,now i am sure , in next context i will reach expert :) |
|
+8
"good luck and have a good score" |
| Name |
|---|


