結果

問題 No.136 Yet Another GCD Problem
ユーザー gorugo30gorugo30
提出日時 2021-03-05 18:56:04
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 123 bytes
コンパイル時間 1,686 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 75,728 KB
最終ジャッジ日時 2023-07-28 23:02:04
合計ジャッジ時間 5,494 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,140 KB
testcase_01 AC 72 ms
71,128 KB
testcase_02 AC 70 ms
71,280 KB
testcase_03 AC 74 ms
75,264 KB
testcase_04 AC 75 ms
75,580 KB
testcase_05 AC 74 ms
75,728 KB
testcase_06 AC 74 ms
75,568 KB
testcase_07 AC 74 ms
75,548 KB
testcase_08 AC 76 ms
75,376 KB
testcase_09 AC 75 ms
75,556 KB
testcase_10 AC 76 ms
75,408 KB
testcase_11 AC 76 ms
75,376 KB
testcase_12 AC 72 ms
71,192 KB
testcase_13 AC 75 ms
75,688 KB
testcase_14 AC 75 ms
75,408 KB
testcase_15 AC 79 ms
75,532 KB
testcase_16 AC 76 ms
75,596 KB
testcase_17 AC 78 ms
75,452 KB
testcase_18 AC 77 ms
71,220 KB
testcase_19 AC 77 ms
75,528 KB
testcase_20 AC 78 ms
75,548 KB
testcase_21 AC 76 ms
75,444 KB
testcase_22 AC 74 ms
71,268 KB
testcase_23 AC 76 ms
71,120 KB
testcase_24 AC 74 ms
71,284 KB
testcase_25 AC 75 ms
71,288 KB
testcase_26 AC 73 ms
71,112 KB
testcase_27 AC 74 ms
75,576 KB
testcase_28 AC 76 ms
75,408 KB
testcase_29 AC 78 ms
75,420 KB
testcase_30 AC 74 ms
71,244 KB
testcase_31 AC 74 ms
71,252 KB
testcase_32 AC 72 ms
71,300 KB
testcase_33 AC 73 ms
71,208 KB
testcase_34 AC 79 ms
75,412 KB
testcase_35 AC 78 ms
75,580 KB
testcase_36 AC 75 ms
75,552 KB
testcase_37 AC 77 ms
75,412 KB
testcase_38 AC 75 ms
71,188 KB
testcase_39 AC 75 ms
71,264 KB
testcase_40 AC 74 ms
71,328 KB
testcase_41 AC 75 ms
70,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = map(int, input().split())
ans = 1
for i in range(2, 1 + (N + 1) // 2):
    if N % i == 0:
        ans = i
print(ans)
0