結果
| 問題 |
No.975 ミスターマックスバリュ
|
| ユーザー |
|
| 提出日時 | 2020-01-31 21:32:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| コード長 | 321 bytes |
| コンパイル時間 | 196 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 16,216 KB |
| 最終ジャッジ日時 | 2024-09-17 07:17:10 |
| 合計ジャッジ時間 | 1,037 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
x, n, m = map(int, input().split())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
MrMax = a.count(x)
MaxValu = b.count(x)
if MrMax==1 and MaxValu==1:
print("MrMaxValu")
elif MrMax==1 and MaxValu==0:
print("MrMax")
elif MrMax==0 and MaxValu==1:
print("MaxValu")
else:
print("-1")