Task: | LibBot |
Sender: | aalto2024b_009 |
Submission time: | 2024-09-11 17:40:40 +0300 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 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.05 s | details |
#6 | WRONG ANSWER | 0.04 s | details |
#7 | WRONG ANSWER | 0.04 s | details |
#8 | WRONG ANSWER | 0.04 s | details |
#9 | WRONG ANSWER | 0.04 s | details |
#10 | WRONG ANSWER | 0.05 s | details |
#11 | WRONG ANSWER | 0.05 s | details |
#12 | WRONG ANSWER | 0.04 s | details |
#13 | WRONG ANSWER | 0.05 s | details |
#14 | WRONG ANSWER | 0.05 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.05 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 |
#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.04 s | details |
#32 | WRONG ANSWER | 0.04 s | details |
#33 | WRONG ANSWER | 0.04 s | details |
#34 | WRONG ANSWER | 0.04 s | details |
#35 | WRONG ANSWER | 0.05 s | details |
#36 | WRONG ANSWER | 0.04 s | details |
#37 | WRONG ANSWER | 0.04 s | details |
#38 | WRONG ANSWER | 0.04 s | details |
#39 | WRONG ANSWER | 0.04 s | details |
#40 | WRONG ANSWER | 0.04 s | details |
#41 | WRONG ANSWER | 0.04 s | details |
Code
answer = False n = int(input().split()[1]) size = n ** 5 name = input().split()[1] def ton(m): global n a = m s = '' for i in range(5): s += str(a % n + 1) if i != 4: s += '.' a = a // n return s def check(m): print('FETCH', ton(m), flush=True) ans = input().split()[1] return ans == name R = size + 1 L = 0 while R - L > 1: M = (R + L) // 2 if check(M): R = M else: L = M LL = R R = size + 1 L = 0 while R - L > 1: M = (R + L) // 2 if check(M): L = M else: R = M print('GOT', L - LL, flush=True)
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
2 9 kdg dl 6 kdg 3 kdgwl 1 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 2 COUNT kdg FETCH 1.1.1.1.2 FOUND dl FETCH 1.1.1.2.2 ... Truncated |
Error:
1 1 0 0
Test 2
Verdict: WRONG ANSWER
input |
---|
3 15 irwkfl c 26 d 27 e 11 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 3 COUNT irwkfl FETCH 3.2.2.2.2 FOUND n FETCH 1.2.3.1.3 ... Truncated |
Error:
1 1 0 0
Test 3
Verdict: WRONG ANSWER
input |
---|
4 34 gcnmkobrd bcytu 60 bheb 64 bhebp 26 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 4 COUNT gcnmkobrd FETCH 1.1.1.1.3 FOUND bcytu FETCH 1.1.1.1.4 ... Truncated |
Error:
1 1 0 0
Test 4
Verdict: WRONG ANSWER
input |
---|
5 52 faoluuicsn a 1 cufqs 30 d 44 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 5 COUNT faoluuicsn FETCH 4.3.3.3.3 FOUND w FETCH 5.4.4.4.4 ... Truncated |
Error:
1 1 0 0
Test 5
Verdict: WRONG ANSWER
input |
---|
6 75 okokxlluuicsnw a 1 b 51 bxcufq 145 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 6 COUNT okokxlluuicsnw FETCH 1.1.1.1.4 FOUND b FETCH 1.1.1.4.5 ... Truncated |
Error:
1 1 0 0
Test 6
Verdict: WRONG ANSWER
input |
---|
7 105 jibgewnvmqnpbxvirxmgf a 1 aqykhme 32 atusxwa 119 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT jibgewnvmqnpbxvirxmgf FETCH 5.4.4.4.4 FOUND qtqsadqlrxwyjthlwzarm FETCH 7.2.6 ... Truncated |
Error:
1 1 0 0
Test 7
Verdict: WRONG ANSWER
input |
---|
8 124 djnofmgdbfj afpc 66 apj 204 apjgsu 105 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT djnofmgdbfj FETCH 1.1.1.1.5 FOUND afpc FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 8
Verdict: WRONG ANSWER
input |
---|
9 166 qonvyqgibutxey a 94 act 683 afngrwb 20 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT qonvyqgibutxey FETCH 6.5.5.5.5 FOUND rc FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 9
Verdict: WRONG ANSWER
input |
---|
10 211 zuek axof 303 axofdxjyeevjxifd 397 axofvxnleg 539 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 10 COUNT zuek FETCH 1.1.1.1.6 FOUND axof FETCH 1.1.1.6.8 ... Truncated |
Error:
1 1 0 0
Test 10
Verdict: WRONG ANSWER
input |
---|
10 216 hskapswvzfrbijqwgotkothu aayuulyq 436 aayuulyqcs 205 aayuulyqcsgjqffbfix 530 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 10 COUNT hskapswvzfrbijqwgotkothu FETCH 1.1.1.1.6 FOUND aayuulyq FETCH 1.1.1.6.8 ... Truncated |
Error:
1 1 0 0
Test 11
Verdict: WRONG ANSWER
input |
---|
9 158 ylhjecnhgyboje a 691 acd 241 apkcczfzzxrpvlk 88 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT ylhjecnhgyboje FETCH 6.5.5.5.5 FOUND nktjhwagjjmiyfewbtig FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 12
Verdict: WRONG ANSWER
input |
---|
8 133 ewcm aavhwtselm 486 aavrwtsejm 170 aayuuly 62 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT ewcm FETCH 1.1.1.1.5 FOUND aavhwtselm FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 13
Verdict: WRONG ANSWER
input |
---|
7 98 jkpxbvb awb 326 comccswxez 114 cw 42 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT jkpxbvb FETCH 5.4.4.4.4 FOUND qyqlswnjnz FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 14
Verdict: WRONG ANSWER
input |
---|
6 70 eaymki alkio 119 alkioruv 72 alkioruvyivod 26 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 6 COUNT eaymki FETCH 1.1.1.1.4 FOUND alkio FETCH 1.1.1.4.5 ... Truncated |
Error:
1 1 0 0
Test 15
Verdict: WRONG ANSWER
input |
---|
4 28 unje biybsjet 60 biybsjetnn 27 bx 45 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 4 COUNT unje FETCH 1.1.1.1.3 FOUND biybsjet FETCH 1.1.1.1.4 ... Truncated |
Error:
1 1 0 0
Test 16
Verdict: WRONG ANSWER
input |
---|
9 159 ckfhsouqxvv a 373 aahay 152 asvvihxxokcevotlncilqbuvhmdkmh... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT ckfhsouqxvv FETCH 6.5.5.5.5 FOUND pxwzzktehjlds FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 17
Verdict: WRONG ANSWER
input |
---|
8 117 h aaha 262 anmuhfjbetlfzdbns 107 awhfbhdbjbuexgbwl 226 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT h FETCH 1.1.1.1.5 FOUND aaha FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 18
Verdict: WRONG ANSWER
input |
---|
7 106 m aezpq 42 aokpn 7 aqfkfe 86 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT m FETCH 5.4.4.4.4 FOUND qcugjukg FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 19
Verdict: WRONG ANSWER
input |
---|
7 101 kvtwj appvlr 240 bguzpylrzkwon 78 bofd 2 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT kvtwj FETCH 5.4.4.4.4 FOUND qlbujpwkgwmnea FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 20
Verdict: WRONG ANSWER
input |
---|
2 9 fu dl 6 kdg 3 kdgwl 1 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 2 COUNT fu FETCH 1.1.1.1.2 FOUND dl FETCH 1.1.1.2.2 ... Truncated |
Error:
1 1 0 0
Test 21
Verdict: WRONG ANSWER
input |
---|
3 15 uvk c 26 d 27 e 11 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 3 COUNT uvk FETCH 3.2.2.2.2 FOUND n FETCH 1.2.3.1.3 ... Truncated |
Error:
1 1 0 0
Test 22
Verdict: WRONG ANSWER
input |
---|
4 34 jgtx bcytu 60 bheb 64 bhebp 26 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 4 COUNT jgtx FETCH 1.1.1.1.3 FOUND bcytu FETCH 1.1.1.1.4 ... Truncated |
Error:
1 1 0 0
Test 23
Verdict: WRONG ANSWER
input |
---|
5 52 ghmfq a 1 cufqs 30 d 44 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 5 COUNT ghmfq FETCH 4.3.3.3.3 FOUND w FETCH 5.4.4.4.4 ... Truncated |
Error:
1 1 0 0
Test 24
Verdict: WRONG ANSWER
input |
---|
6 75 ojuphd a 1 b 51 bxcufq 145 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 6 COUNT ojuphd FETCH 1.1.1.1.4 FOUND b FETCH 1.1.1.4.5 ... Truncated |
Error:
1 1 0 0
Test 25
Verdict: WRONG ANSWER
input |
---|
7 105 kzzqfzz a 1 aqykhme 32 atusxwa 119 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT kzzqfzz FETCH 5.4.4.4.4 FOUND qtqsadqlrxwyjthlwzarm FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 26
Verdict: WRONG ANSWER
input |
---|
8 124 emdxvwdw afpc 66 apj 204 apjgsu 105 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT emdxvwdw FETCH 1.1.1.1.5 FOUND afpc FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 27
Verdict: WRONG ANSWER
input |
---|
9 166 pkhsbasuj a 94 act 683 afngrwb 20 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT pkhsbasuj FETCH 6.5.5.5.5 FOUND rc FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 28
Verdict: WRONG ANSWER
input |
---|
10 211 zypqadmqoo axof 303 axofdxjyeevjxifd 397 axofvxnleg 539 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 10 COUNT zypqadmqoo FETCH 1.1.1.1.6 FOUND axof FETCH 1.1.1.6.8 ... Truncated |
Error:
1 1 0 0
Test 29
Verdict: WRONG ANSWER
input |
---|
10 216 jhagispreh aayuulyq 436 aayuulyqcs 205 aayuulyqcsgjqffbfix 530 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 10 COUNT jhagispreh FETCH 1.1.1.1.6 FOUND aayuulyq FETCH 1.1.1.6.8 ... Truncated |
Error:
1 1 0 0
Test 30
Verdict: WRONG ANSWER
input |
---|
9 158 zfkmqpzht a 691 acd 241 apkcczfzzxrpvlk 88 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT zfkmqpzht FETCH 6.5.5.5.5 FOUND nktjhwagjjmiyfewbtig FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 31
Verdict: WRONG ANSWER
input |
---|
8 133 dogiavnu aavhwtselm 486 aavrwtsejm 170 aayuuly 62 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT dogiavnu FETCH 1.1.1.1.5 FOUND aavhwtselm FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 32
Verdict: WRONG ANSWER
input |
---|
7 98 kihqiff awb 326 comccswxez 114 cw 42 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT kihqiff FETCH 5.4.4.4.4 FOUND qyqlswnjnz FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 33
Verdict: WRONG ANSWER
input |
---|
6 70 eszubi alkio 119 alkioruv 72 alkioruvyivod 26 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 6 COUNT eszubi FETCH 1.1.1.1.4 FOUND alkio FETCH 1.1.1.4.5 ... Truncated |
Error:
1 1 0 0
Test 34
Verdict: WRONG ANSWER
input |
---|
4 28 vyta biybsjet 60 biybsjetnn 27 bx 45 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 4 COUNT vyta FETCH 1.1.1.1.3 FOUND biybsjet FETCH 1.1.1.1.4 ... Truncated |
Error:
1 1 0 0
Test 35
Verdict: WRONG ANSWER
input |
---|
9 159 ctohjykey a 373 aahay 152 asvvihxxokcevotlncilqbuvhmdkmh... |
correct output |
---|
(empty) |
user output |
---|
SIZE 9 COUNT ctohjykey FETCH 6.5.5.5.5 FOUND pxwzzktehjlds FETCH 8.7.7.7.7 ... Truncated |
Error:
1 1 0 0
Test 36
Verdict: WRONG ANSWER
input |
---|
8 117 igjxpndn aaha 262 anmuhfjbetlfzdbns 107 awhfbhdbjbuexgbwl 226 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 8 COUNT igjxpndn FETCH 1.1.1.1.5 FOUND aaha FETCH 1.1.1.1.7 ... Truncated |
Error:
1 1 0 0
Test 37
Verdict: WRONG ANSWER
input |
---|
7 106 lslhnht aezpq 42 aokpn 7 aqfkfe 86 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT lslhnht FETCH 5.4.4.4.4 FOUND qcugjukg FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 38
Verdict: WRONG ANSWER
input |
---|
7 101 hxliesh appvlr 240 bguzpylrzkwon 78 bofd 2 ... |
correct output |
---|
(empty) |
user output |
---|
SIZE 7 COUNT hxliesh FETCH 5.4.4.4.4 FOUND qlbujpwkgwmnea FETCH 7.2.6.2.6 ... Truncated |
Error:
1 1 0 0
Test 39
Verdict: WRONG ANSWER
input |
---|
2 1 fu dl 32 |
correct output |
---|
(empty) |
user output |
---|
SIZE 2 COUNT fu FETCH 1.1.1.1.2 FOUND dl FETCH 1.1.1.2.2 ... Truncated |
Error:
1 1 0 0
Test 40
Verdict: WRONG ANSWER
input |
---|
3 1 fuuicsxvc fuuicsxvc 243 |
correct output |
---|
(empty) |
user output |
---|
SIZE 3 COUNT fuuicsxvc FETCH 3.2.2.2.2 FOUND fuuicsxvc FETCH 2.3.1.3.1 ... Truncated |
Error:
1 1 0 0
Test 41
Verdict: WRONG ANSWER
input |
---|
4 1 bcytu bcytu 1024 |
correct output |
---|
(empty) |
user output |
---|
SIZE 4 COUNT bcytu FETCH 1.1.1.1.3 FOUND bcytu FETCH 1.1.1.1.2 ... Truncated |
Error:
1 1 0 0