結果
| 問題 | No.816 Beautiful tuples |
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2019-04-19 21:30:38 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 369 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-04-10 23:22:45 |
| 合計ジャッジ時間 | 2,756 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 3 |
ソースコード
A,B=map(int,input().split())
if A==B:
print(A)
elif max(A,B)==min(A,B)*2:
print(min(A,B)*3)
elif max(A,B)==min(A,B)*3:
print(min(A,B)*2)
else:
print(-1)
syunsuke