Where is the mistake in this code? I could not understand. Please answer this code।
Codeforces problem 318A-Even Odds
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | Um_nik | 164 |
2 | maomao90 | 160 |
3 | -is-this-fft- | 159 |
3 | cry | 159 |
5 | atcoder_official | 158 |
5 | awoo | 158 |
7 | adamant | 155 |
8 | nor | 154 |
9 | maroonrk | 151 |
10 | Dominater069 | 150 |
Where is the mistake in this code? I could not understand. Please answer this code।
Codeforces problem 318A-Even Odds
Name |
---|
Well where is your code?
And you haven't even done a submission
Sorry
You need to click the "show unofficial" box to see all submissions.
Thanks ;)
The problem is that you are running a loop of n and n could be at most 10^12 which C can't afford even in 10s so you should find a solution which doen't contains a loop (if want the solution tell me)