結果
| 問題 |
No.136 Yet Another GCD Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-12 13:18:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 5,000 ms |
| コード長 | 117 bytes |
| コンパイル時間 | 437 ms |
| コンパイル使用メモリ | 82,320 KB |
| 実行使用メモリ | 59,168 KB |
| 最終ジャッジ日時 | 2024-12-31 22:01:26 |
| 合計ジャッジ時間 | 3,629 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 39 |
ソースコード
N, K = map(int, input().split())
for i in range(2, N + 1):
if N % i == 0:
print(N // i)
exit()