結果
| 問題 |
No.816 Beautiful tuples
|
| ユーザー |
|
| 提出日時 | 2019-04-20 00:52:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 158 bytes |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-24 09:36:55 |
| 合計ジャッジ時間 | 1,245 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 15 |
ソースコード
def main(): a,b = map(int,input().split()) for c in range(10**9): if (a+b)%c == 0 and (a+c)%b == 0 and (c+b)%a==0: print(c) return print(-1) main()