Can anyone please see this the attached screenshot? And help me here?
# | User | Rating |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 151 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
Can anyone please see this the attached screenshot? And help me here?
Name |
---|
I would suggest try compiling it with codeforces compiler which is there under custom invocation tab. Check whether that gives any error.
I played around with your code and found it was a problem with your reader. Somehow messed up the reference data. Your code using BufferedReader instead: 193524061. Just stick with BufferedReader and PrintWriter for now. You don’t need any fancy readers on problems like these. If you want a good fast reader for java you can look at this guide: https://usaco.guide/general/fast-io?lang=java
If you log the chars the program reads at the
readLine()
function, you will get '1', '\r', '\n' (and it returns "1\r"). Therefore, your program prints "1\r\r1".