結果
問題 |
No.136 Yet Another GCD Problem
|
ユーザー |
|
提出日時 | 2017-05-21 13:30:55 |
言語 | PyPy2 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 1,556 ms |
コンパイル使用メモリ | 76,584 KB |
実行使用メモリ | 76,152 KB |
最終ジャッジ日時 | 2024-09-19 08:06:18 |
合計ジャッジ時間 | 4,361 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 39 |
ソースコード
# Python3勉強中 import math n,k = list(map(int,input().split())) r = 0 for x in range(1,int(n/2)+1): y = n - x r = max(r,math.gcd(x,y)) print(r)