結果
| 問題 |
No.975 ミスターマックスバリュ
|
| ユーザー |
|
| 提出日時 | 2021-12-31 09:26:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 2,000 ms |
| コード長 | 291 bytes |
| コンパイル時間 | 308 ms |
| コンパイル使用メモリ | 82,144 KB |
| 実行使用メモリ | 70,496 KB |
| 最終ジャッジ日時 | 2024-10-07 22:40:57 |
| 合計ジャッジ時間 | 1,192 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
x,n,m = map(int,input().split())
an = list(map(int,input().split()))
bn = list(map(int,input().split()))
if (x in an) and (x in bn):
print("MrMaxValu")
elif (x in an) and (x not in bn):
print("MrMax")
elif (x not in an) and (x in bn):
print("MaxValu")
else:
print("-1")