結果
| 問題 | No.816 Beautiful tuples |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-20 00:52:02 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 158 bytes |
| 記録 | |
| コンパイル時間 | 291 ms |
| コンパイル使用メモリ | 21,340 KB |
| 実行使用メモリ | 20,652 KB |
| 最終ジャッジ日時 | 2026-09-03 04:39:30 |
| 合計ジャッジ時間 | 5,002 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()