結果

問題 No.136 Yet Another GCD Problem
ユーザー 👑 KazunKazun
提出日時 2020-10-14 04:27:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 103 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 75,948 KB
最終ジャッジ日時 2023-09-28 00:28:00
合計ジャッジ時間 4,757 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,416 KB
testcase_01 AC 63 ms
71,152 KB
testcase_02 AC 63 ms
71,048 KB
testcase_03 AC 67 ms
75,668 KB
testcase_04 AC 67 ms
75,764 KB
testcase_05 AC 72 ms
75,752 KB
testcase_06 AC 68 ms
75,724 KB
testcase_07 AC 65 ms
75,748 KB
testcase_08 AC 68 ms
75,740 KB
testcase_09 AC 67 ms
75,788 KB
testcase_10 AC 66 ms
75,916 KB
testcase_11 AC 69 ms
75,740 KB
testcase_12 AC 63 ms
71,152 KB
testcase_13 AC 65 ms
75,692 KB
testcase_14 AC 64 ms
75,616 KB
testcase_15 AC 66 ms
75,832 KB
testcase_16 AC 64 ms
75,808 KB
testcase_17 AC 66 ms
75,752 KB
testcase_18 AC 63 ms
71,204 KB
testcase_19 AC 65 ms
75,804 KB
testcase_20 AC 65 ms
75,692 KB
testcase_21 AC 65 ms
75,936 KB
testcase_22 AC 62 ms
71,244 KB
testcase_23 AC 65 ms
71,432 KB
testcase_24 AC 63 ms
71,248 KB
testcase_25 AC 64 ms
71,288 KB
testcase_26 AC 63 ms
71,284 KB
testcase_27 AC 64 ms
75,608 KB
testcase_28 AC 66 ms
75,744 KB
testcase_29 AC 66 ms
75,948 KB
testcase_30 AC 63 ms
71,540 KB
testcase_31 AC 63 ms
71,368 KB
testcase_32 AC 62 ms
71,456 KB
testcase_33 AC 62 ms
71,196 KB
testcase_34 AC 66 ms
75,452 KB
testcase_35 AC 66 ms
75,648 KB
testcase_36 AC 65 ms
75,612 KB
testcase_37 AC 67 ms
75,624 KB
testcase_38 AC 65 ms
71,148 KB
testcase_39 AC 63 ms
71,468 KB
testcase_40 AC 65 ms
71,048 KB
testcase_41 AC 62 ms
71,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())

M=1
for k in range(2,N+1):
    if N%k==0:
        M=max(M,N//k)

print(M)
0