結果
| 問題 |
No.816 Beautiful tuples
|
| ユーザー |
|
| 提出日時 | 2019-04-20 01:26:17 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-24 17:58:32 |
| 合計ジャッジ時間 | 1,049 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 15 |
ソースコード
a,b = map(int,input().split())
for i in range(1,a+b+1):
if a != c and a != b:
if a % c == 0 and b % c == 0:
print(c)
exit()
print(-1)