# | User | Rating |
---|---|---|
1 | tourist | 3803 |
2 | Benq | 3783 |
3 | Radewoosh | 3602 |
4 | Um_nik | 3541 |
5 | fantasy | 3526 |
6 | maroonrk | 3504 |
7 | ko_osaga | 3500 |
8 | jiangly | 3465 |
9 | orzdevinwang | 3460 |
10 | cnnfls_csy | 3427 |
# | User | Contrib. |
---|---|---|
1 | awoo | 180 |
2 | -is-this-fft- | 178 |
3 | nor | 169 |
4 | Um_nik | 168 |
5 | SecondThread | 164 |
6 | maroonrk | 163 |
7 | adamant | 162 |
8 | kostka | 161 |
9 | YouKn0wWho | 158 |
10 | antontrygubO_o | 154 |
Name |
---|
you can use StringBuilder like this
Thanks for the help. So, in general, we should prefer default printing, and if we face this type of problem, we can try this approach. Is there any way to figure out priorly which method we should prefer? Because this is the first time I have encountered this type of problem
best way in my opinion is just to use PrintWriter in general (check below comment for sample sol with it), you can just include it in a template just like you already have FastReader in it, so it should be fine
Thanks for the help :)
You can use PrintWriter
yeah, for instance this submission works fine