結果

問題 No.2749 随伴関手入門
ユーザー FromBooskaFromBooska
提出日時 2024-05-10 22:38:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 54,160 KB
最終ジャッジ日時 2024-05-10 22:38:30
合計ジャッジ時間 2,310 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,932 KB
testcase_01 AC 38 ms
52,408 KB
testcase_02 AC 38 ms
51,868 KB
testcase_03 AC 37 ms
53,744 KB
testcase_04 AC 37 ms
52,796 KB
testcase_05 AC 39 ms
52,600 KB
testcase_06 AC 39 ms
52,640 KB
testcase_07 AC 42 ms
53,828 KB
testcase_08 AC 38 ms
52,608 KB
testcase_09 AC 38 ms
53,064 KB
testcase_10 AC 38 ms
52,948 KB
testcase_11 AC 38 ms
52,412 KB
testcase_12 AC 37 ms
53,252 KB
testcase_13 AC 39 ms
54,120 KB
testcase_14 AC 39 ms
52,276 KB
testcase_15 AC 37 ms
53,056 KB
testcase_16 AC 38 ms
52,664 KB
testcase_17 AC 37 ms
52,908 KB
testcase_18 AC 39 ms
53,704 KB
testcase_19 AC 39 ms
52,208 KB
testcase_20 AC 38 ms
51,752 KB
testcase_21 AC 39 ms
52,564 KB
testcase_22 AC 45 ms
54,160 KB
testcase_23 AC 38 ms
52,604 KB
testcase_24 AC 37 ms
52,624 KB
testcase_25 AC 38 ms
52,244 KB
testcase_26 AC 38 ms
53,988 KB
testcase_27 AC 39 ms
52,152 KB
testcase_28 AC 37 ms
53,220 KB
testcase_29 AC 38 ms
53,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

F = [1, 1]
for i in range(3, 1000):
    calc = F[-2]+F[-1]
    F.append(calc)
    
#print(F[:50])

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