Task: | Gerbil's run |
Sender: | ¯\_(._.)_/¯ |
Submission time: | 2024-11-16 13:10:14 +0200 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.05 s | details |
#2 | WRONG ANSWER | 0.05 s | details |
#3 | WRONG ANSWER | 0.06 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.04 s | details |
#8 | WRONG ANSWER | 0.05 s | details |
#9 | WRONG ANSWER | 0.05 s | details |
#10 | WRONG ANSWER | 0.06 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.05 s | details |
#16 | WRONG ANSWER | 0.05 s | details |
#17 | WRONG ANSWER | 0.06 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.05 s | details |
#22 | WRONG ANSWER | 0.04 s | details |
#23 | WRONG ANSWER | 0.05 s | details |
#24 | WRONG ANSWER | 0.06 s | details |
#25 | WRONG ANSWER | 0.06 s | details |
#26 | WRONG ANSWER | 0.06 s | details |
#27 | WRONG ANSWER | 0.06 s | details |
#28 | WRONG ANSWER | 0.04 s | details |
#29 | WRONG ANSWER | 0.04 s | details |
#30 | WRONG ANSWER | 0.04 s | details |
#31 | WRONG ANSWER | 0.06 s | details |
#32 | WRONG ANSWER | 0.06 s | details |
#33 | WRONG ANSWER | 0.05 s | details |
#34 | WRONG ANSWER | 0.05 s | details |
#35 | WRONG ANSWER | 0.05 s | details |
#36 | WRONG ANSWER | 0.05 s | details |
#37 | WRONG ANSWER | 0.06 s | details |
#38 | WRONG ANSWER | 0.06 s | details |
#39 | WRONG ANSWER | 0.06 s | details |
#40 | WRONG ANSWER | 0.07 s | details |
#41 | WRONG ANSWER | 0.07 s | details |
#42 | WRONG ANSWER | 0.07 s | details |
#43 | WRONG ANSWER | 0.07 s | details |
#44 | WRONG ANSWER | 0.07 s | details |
#45 | WRONG ANSWER | 0.06 s | details |
Code
import sys import math sys.setrecursionlimit(1000000) input = sys.stdin.readline r = int(input()) l = 2*math.pi *r i = 0 while l > 3: print("{0}/1, {1}/1".format(i, i + 1)) i += 2 l -= 2 if 2 > l: print("{0}/1, {1}/1".format(i, i + 1)) i += 2 l -= 2 else: #print(l) l -= 1 d = 1000000 k = 0 for j in range(1, d): b = j / d if l - b > b and l - b < 1: k = j break print("{0}/1, {1}/1000000".format(i, k + d))
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
1 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 1283186/1000000 |
Test 2
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 3
Verdict: WRONG ANSWER
input |
---|
3 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 4
Verdict: WRONG ANSWER
input |
---|
4 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 5
Verdict: WRONG ANSWER
input |
---|
5 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 6
Verdict: WRONG ANSWER
input |
---|
6 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 7
Verdict: WRONG ANSWER
input |
---|
7 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 8
Verdict: WRONG ANSWER
input |
---|
8 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 9
Verdict: WRONG ANSWER
input |
---|
9 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 10
Verdict: WRONG ANSWER
input |
---|
10 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 11
Verdict: WRONG ANSWER
input |
---|
11 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 12
Verdict: WRONG ANSWER
input |
---|
12 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 13
Verdict: WRONG ANSWER
input |
---|
13 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 14
Verdict: WRONG ANSWER
input |
---|
14 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 15
Verdict: WRONG ANSWER
input |
---|
15 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 16
Verdict: WRONG ANSWER
input |
---|
16 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 17
Verdict: WRONG ANSWER
input |
---|
17 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 18
Verdict: WRONG ANSWER
input |
---|
18 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 19
Verdict: WRONG ANSWER
input |
---|
19 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 20
Verdict: WRONG ANSWER
input |
---|
20 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 21
Verdict: WRONG ANSWER
input |
---|
50 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 22
Verdict: WRONG ANSWER
input |
---|
98 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 23
Verdict: WRONG ANSWER
input |
---|
99 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 24
Verdict: WRONG ANSWER
input |
---|
100 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 25
Verdict: WRONG ANSWER
input |
---|
101 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 26
Verdict: WRONG ANSWER
input |
---|
102 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 27
Verdict: WRONG ANSWER
input |
---|
158 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 28
Verdict: WRONG ANSWER
input |
---|
159 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 29
Verdict: WRONG ANSWER
input |
---|
160 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 30
Verdict: WRONG ANSWER
input |
---|
161 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 31
Verdict: WRONG ANSWER
input |
---|
313 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 32
Verdict: WRONG ANSWER
input |
---|
314 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 33
Verdict: WRONG ANSWER
input |
---|
315 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 34
Verdict: WRONG ANSWER
input |
---|
316 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 35
Verdict: WRONG ANSWER
input |
---|
317 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 36
Verdict: WRONG ANSWER
input |
---|
318 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 37
Verdict: WRONG ANSWER
input |
---|
319 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 38
Verdict: WRONG ANSWER
input |
---|
320 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 39
Verdict: WRONG ANSWER
input |
---|
500 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 40
Verdict: WRONG ANSWER
input |
---|
990 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 41
Verdict: WRONG ANSWER
input |
---|
996 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 42
Verdict: WRONG ANSWER
input |
---|
997 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 43
Verdict: WRONG ANSWER
input |
---|
998 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 44
Verdict: WRONG ANSWER
input |
---|
999 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |
Test 45
Verdict: WRONG ANSWER
input |
---|
1000 |
correct output |
---|
0/1000000 1000000/1000000 2000000/1000000 3000000/100000... |
user output |
---|
0/1, 1/1 2/1, 3/1 4/1, 5/1 6/1, 7/1 8/1, 9/1 ... |