3324 | 2023-02-25 19:36:15 | 4bs0lute0 | Gergő és a sárkány | python3 | Wrong answer 0/100 | 17ms | 13744 KiB |
N = 3
D = 23
p2 = D
p1 = D
while not (p1 >= 10**(N-1) and p2 >= 10**(N-1)):
p0 = p1 + p2
p2 = p0 + p1
p1 = p2 + p0
if p1 == p2:
print(0, 0)
else:
print(p1, p2)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 17ms | 10856 KiB | ||||
2 | Wrong answer | 17ms | 11000 KiB | ||||
subtask2 | 0/8 | ||||||
3 | Wrong answer | 17ms | 11112 KiB | ||||
4 | Wrong answer | 17ms | 11452 KiB | ||||
5 | Wrong answer | 17ms | 11840 KiB | ||||
6 | Wrong answer | 17ms | 11896 KiB | ||||
subtask3 | 0/16 | ||||||
7 | Wrong answer | 17ms | 11872 KiB | ||||
8 | Wrong answer | 17ms | 12244 KiB | ||||
9 | Wrong answer | 17ms | 12764 KiB | ||||
10 | Wrong answer | 17ms | 12784 KiB | ||||
11 | Wrong answer | 17ms | 12624 KiB | ||||
subtask4 | 0/7 | ||||||
12 | Wrong answer | 17ms | 12852 KiB | ||||
13 | Wrong answer | 17ms | 12812 KiB | ||||
14 | Wrong answer | 17ms | 12660 KiB | ||||
subtask5 | 0/11 | ||||||
15 | Wrong answer | 17ms | 12856 KiB | ||||
16 | Wrong answer | 17ms | 13024 KiB | ||||
17 | Wrong answer | 17ms | 13412 KiB | ||||
18 | Wrong answer | 17ms | 13496 KiB | ||||
subtask6 | 0/58 | ||||||
19 | Wrong answer | 17ms | 13588 KiB | ||||
20 | Wrong answer | 17ms | 13508 KiB | ||||
21 | Wrong answer | 17ms | 13580 KiB | ||||
22 | Wrong answer | 17ms | 13588 KiB | ||||
23 | Wrong answer | 17ms | 13688 KiB | ||||
24 | Wrong answer | 17ms | 13688 KiB | ||||
25 | Wrong answer | 17ms | 13744 KiB | ||||
26 | Wrong answer | 17ms | 13532 KiB |