結果

問題 No.136 Yet Another GCD Problem
ユーザー 👑 KazunKazun
提出日時 2020-10-14 04:22:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 112 bytes
コンパイル時間 1,123 ms
コンパイル使用メモリ 86,732 KB
実行使用メモリ 75,840 KB
最終ジャッジ日時 2023-09-28 00:27:54
合計ジャッジ時間 5,662 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,372 KB
testcase_01 AC 66 ms
71,116 KB
testcase_02 AC 66 ms
71,028 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 68 ms
75,568 KB
testcase_09 AC 64 ms
71,112 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 65 ms
71,284 KB
testcase_24 WA -
testcase_25 AC 64 ms
71,248 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 62 ms
71,032 KB
testcase_32 WA -
testcase_33 AC 67 ms
71,496 KB
testcase_34 AC 69 ms
75,436 KB
testcase_35 AC 67 ms
71,048 KB
testcase_36 AC 66 ms
71,236 KB
testcase_37 AC 71 ms
75,552 KB
testcase_38 AC 66 ms
71,320 KB
testcase_39 AC 65 ms
71,316 KB
testcase_40 AC 65 ms
71,432 KB
testcase_41 AC 68 ms
71,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

for x in range(K,N+1):
    if N%x==0:
        print(N//x)
        exit()
print(1)
0