結果
| 問題 | No.816 Beautiful tuples |
| コンテスト | |
| ユーザー |
timi
|
| 提出日時 | 2021-03-11 16:19:41 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 126 bytes |
| 記録 | |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-13 04:33:20 |
| 合計ジャッジ時間 | 1,381 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 5 |
ソースコード
A,B=map(int, input().split()) C=abs(A-B) a=(B+C)%A b=(A+C)%B c=(C+A)%C if a==0 and b==0 and c==0: print(C) else: print(-1)
timi