# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
319150 | 2020-11-04T09:15:12 Z | sofapuden | Odd-even (IZhO11_oddeven) | Python 3 | 2000 ms | 2924 KB |
n = int(input()) x = 1 y = 1 while(y < n): x+=1 y+=x print(2*n-x)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 16 ms | 2816 KB | Output is correct |
2 | Correct | 17 ms | 2924 KB | Output is correct |
3 | Correct | 16 ms | 2796 KB | Output is correct |
4 | Correct | 16 ms | 2828 KB | Output is correct |
5 | Correct | 16 ms | 2796 KB | Output is correct |
6 | Correct | 24 ms | 2796 KB | Output is correct |
7 | Correct | 823 ms | 2852 KB | Output is correct |
8 | Execution timed out | 2085 ms | 2796 KB | Time limit exceeded |
9 | Halted | 0 ms | 0 KB | - |