結果

問題 No.2749 随伴関手入門
ユーザー detteiuudetteiuu
提出日時 2024-05-10 21:25:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 82,072 KB
実行使用メモリ 60,368 KB
最終ジャッジ日時 2024-05-10 21:25:52
合計ジャッジ時間 2,695 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
58,664 KB
testcase_01 AC 42 ms
58,656 KB
testcase_02 AC 43 ms
59,688 KB
testcase_03 AC 44 ms
59,144 KB
testcase_04 AC 44 ms
58,988 KB
testcase_05 AC 43 ms
59,808 KB
testcase_06 AC 43 ms
59,024 KB
testcase_07 AC 43 ms
59,304 KB
testcase_08 AC 46 ms
59,748 KB
testcase_09 AC 43 ms
59,524 KB
testcase_10 AC 43 ms
60,368 KB
testcase_11 AC 42 ms
60,036 KB
testcase_12 AC 49 ms
58,748 KB
testcase_13 AC 44 ms
59,416 KB
testcase_14 AC 42 ms
58,960 KB
testcase_15 AC 42 ms
59,252 KB
testcase_16 AC 43 ms
59,144 KB
testcase_17 AC 42 ms
58,636 KB
testcase_18 AC 42 ms
58,688 KB
testcase_19 AC 44 ms
59,496 KB
testcase_20 AC 44 ms
59,112 KB
testcase_21 AC 43 ms
58,868 KB
testcase_22 AC 43 ms
59,140 KB
testcase_23 AC 43 ms
58,832 KB
testcase_24 AC 42 ms
58,244 KB
testcase_25 AC 43 ms
59,352 KB
testcase_26 AC 43 ms
58,648 KB
testcase_27 AC 42 ms
58,448 KB
testcase_28 AC 42 ms
58,584 KB
testcase_29 AC 43 ms
59,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

F = [1, 1]
for _ in range(1000):
    F.append(sum(F[-2:]))

for i in range(len(F)):
    if F[i] % N == 0:
        print(i+1)
        break
0