Task: | Counter |
Sender: | esya_rae |
Submission time: | 2024-11-27 17:50:02 +0200 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | ACCEPTED | 0.04 s | details |
#2 | WRONG ANSWER | 0.04 s | details |
#3 | WRONG ANSWER | 0.04 s | details |
#4 | WRONG ANSWER | 0.04 s | details |
#5 | WRONG ANSWER | 0.04 s | details |
#6 | WRONG ANSWER | 0.04 s | details |
#7 | WRONG ANSWER | 0.05 s | details |
#8 | WRONG ANSWER | 0.04 s | details |
#9 | WRONG ANSWER | 0.04 s | details |
#10 | WRONG ANSWER | 0.04 s | details |
#11 | WRONG ANSWER | 0.04 s | details |
#12 | WRONG ANSWER | 0.04 s | details |
#13 | WRONG ANSWER | 0.04 s | details |
#14 | WRONG ANSWER | 0.04 s | details |
#15 | WRONG ANSWER | 0.04 s | details |
#16 | WRONG ANSWER | 0.04 s | details |
#17 | WRONG ANSWER | 0.04 s | details |
#18 | WRONG ANSWER | 0.04 s | details |
#19 | WRONG ANSWER | 0.04 s | details |
#20 | WRONG ANSWER | 0.04 s | details |
#21 | WRONG ANSWER | 0.04 s | details |
#22 | WRONG ANSWER | 0.04 s | details |
#23 | WRONG ANSWER | 0.04 s | details |
#24 | WRONG ANSWER | 0.04 s | details |
#25 | WRONG ANSWER | 0.04 s | details |
#26 | WRONG ANSWER | 0.04 s | details |
#27 | WRONG ANSWER | 0.04 s | details |
Code
import sys sys.setrecursionlimit(10 ** 6) input = sys.stdin.readline n = int(input()) for n in range(100): print(n) if n % 11 == 0: print(n // 11) else: if (n % 11) % 2 == 0: a = n // 11 + 2 b = a * 11 - n else: a = n // 11 + 1 b = a * 11 - n if b > n // 11 * 11: print(-1) else: print(a + b // 2)
Test details
Test 1
Verdict: ACCEPTED
input |
---|
0 |
correct output |
---|
0 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 2
Verdict: WRONG ANSWER
input |
---|
1 |
correct output |
---|
-1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 3
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
-1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 4
Verdict: WRONG ANSWER
input |
---|
10 |
correct output |
---|
-1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 5
Verdict: WRONG ANSWER
input |
---|
11 |
correct output |
---|
1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 6
Verdict: WRONG ANSWER
input |
---|
23 |
correct output |
---|
8 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 7
Verdict: WRONG ANSWER
input |
---|
90 |
correct output |
---|
20 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 8
Verdict: WRONG ANSWER
input |
---|
8 |
correct output |
---|
-1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 9
Verdict: WRONG ANSWER
input |
---|
88 |
correct output |
---|
8 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 10
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
-1 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 11
Verdict: WRONG ANSWER
input |
---|
62 |
correct output |
---|
8 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 12
Verdict: WRONG ANSWER
input |
---|
53 |
correct output |
---|
6 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 13
Verdict: WRONG ANSWER
input |
---|
55 |
correct output |
---|
5 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 14
Verdict: WRONG ANSWER
input |
---|
84 |
correct output |
---|
10 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 15
Verdict: WRONG ANSWER
input |
---|
72 |
correct output |
---|
16 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 16
Verdict: WRONG ANSWER
input |
---|
71 |
correct output |
---|
10 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 17
Verdict: WRONG ANSWER
input |
---|
16 |
correct output |
---|
5 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 18
Verdict: WRONG ANSWER
input |
---|
86 |
correct output |
---|
9 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 19
Verdict: WRONG ANSWER
input |
---|
81 |
correct output |
---|
18 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 20
Verdict: WRONG ANSWER
input |
---|
19 |
correct output |
---|
10 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 21
Verdict: WRONG ANSWER
input |
---|
21 |
correct output |
---|
9 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 22
Verdict: WRONG ANSWER
input |
---|
249 |
correct output |
---|
25 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 23
Verdict: WRONG ANSWER
input |
---|
835 |
correct output |
---|
83 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 24
Verdict: WRONG ANSWER
input |
---|
94 |
correct output |
---|
18 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 25
Verdict: WRONG ANSWER
input |
---|
10000 |
correct output |
---|
915 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 26
Verdict: WRONG ANSWER
input |
---|
100000 |
correct output |
---|
9098 |
user output |
---|
0 0 1 -1 2 ... Truncated |
Test 27
Verdict: WRONG ANSWER
input |
---|
1000000 |
correct output |
---|
90915 |
user output |
---|
0 0 1 -1 2 ... Truncated |