結果
| 問題 | No.816 Beautiful tuples |
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2019-04-19 21:30:38 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 86 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-22 16:43:04 |
| 合計ジャッジ時間 | 1,159 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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