Submission
Status:
Compilation Error
Subtask/Task Score:
Score: 0
User: phatto
Problemset: อนุกรม
Language: cpp
Time: 0.000 second
Submitted On: 2026-09-14 19:23:18
n = int(input())
a = 1
b = 1
for i in range(3, n + 1):
c = a + b
a = b
b = c
print(b if n >= 2 else a)