Submission #68902955


Source Code Expand

A = list(map(int, input().split()))


def g(a1, a2):
    return int("".join(reversed(str(a1 + a2))))


for _ in range(8):
    A.append(g(A[-1], A[-2]))
print(A[-1])

Submission Info

Submission Time
Task B - Fibonacci Reversed
User mo12412
Language Python (PyPy 3.10-v7.3.12)
Score 200
Code Size 175 Byte
Status AC
Exec Time 59 ms
Memory 76656 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 16
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 02_handmade_00.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt, 02_handmade_04.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 56 ms 76476 KiB
00_sample_01.txt AC 58 ms 76328 KiB
00_sample_02.txt AC 56 ms 76496 KiB
01_random_00.txt AC 56 ms 76312 KiB
01_random_01.txt AC 56 ms 76500 KiB
01_random_02.txt AC 59 ms 76340 KiB
01_random_03.txt AC 59 ms 76628 KiB
01_random_04.txt AC 56 ms 76412 KiB
01_random_05.txt AC 55 ms 76532 KiB
01_random_06.txt AC 56 ms 76320 KiB
01_random_07.txt AC 55 ms 76524 KiB
02_handmade_00.txt AC 56 ms 76252 KiB
02_handmade_01.txt AC 57 ms 76256 KiB
02_handmade_02.txt AC 56 ms 76656 KiB
02_handmade_03.txt AC 56 ms 76580 KiB
02_handmade_04.txt AC 56 ms 76300 KiB