結果
問題 | No.136 Yet Another GCD Problem |
ユーザー | 双六 |
提出日時 | 2020-07-27 00:21:41 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 391 bytes |
コンパイル時間 | 506 ms |
コンパイル使用メモリ | 86,608 KB |
実行使用メモリ | 76,660 KB |
最終ジャッジ日時 | 2023-09-11 05:22:54 |
合計ジャッジ時間 | 7,421 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 100 ms
71,400 KB |
testcase_01 | AC | 97 ms
71,168 KB |
testcase_02 | AC | 99 ms
71,252 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | AC | 102 ms
76,444 KB |
testcase_09 | AC | 104 ms
76,044 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 | 99 ms
71,612 KB |
testcase_24 | WA | - |
testcase_25 | AC | 103 ms
71,412 KB |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | AC | 98 ms
71,492 KB |
testcase_32 | WA | - |
testcase_33 | AC | 99 ms
71,468 KB |
testcase_34 | AC | 106 ms
76,152 KB |
testcase_35 | AC | 103 ms
75,976 KB |
testcase_36 | AC | 102 ms
76,528 KB |
testcase_37 | AC | 106 ms
76,596 KB |
testcase_38 | AC | 96 ms
71,476 KB |
testcase_39 | AC | 101 ms
71,556 KB |
testcase_40 | AC | 99 ms
71,468 KB |
testcase_41 | AC | 99 ms
71,600 KB |
ソースコード
import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict con = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) #処理内容 def main(): N, K = getlist() ans = 1 for i in range(1, N): if i >= K and N % i == 0: ans = max(ans, int(N // i)) print(ans) if __name__ == '__main__': main()