| # | 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 | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
|
-9
Good luck everyone ;-) |
|
0
Couldn't agree more |
|
0
Maybe the fastest editorial on CF... Thanks |
|
0
Note that the string length can be 1e5. And since your for loop ends when Instead, you need to store the given input as a string, and then store its digits in the array |
|
0
Oh, that is right... My fault Anyway, thanks for the clarification |
|
0
Well, I believe that I have no clue why I did that, but does it really matter? I am just exchanging |
|
0
I am wondering why this A solution 87591380 is giving WA, any help? |
|
0
I have applied part of your logic here 86781167 But without using the And if you think of it carefully you will realize that there is no need for deleting elements from array A, since you are iterating throw elements... Note that |
|
0
I didn't understand your code completely... You can see this one might be helpful 86676269 |
| Name |
|---|


