結果
| 問題 | No.975 ミスターマックスバリュ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-25 18:00:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 101 ms / 2,000 ms |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 556 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 19,388 KB |
| 最終ジャッジ日時 | 2026-04-18 09:58:06 |
| 合計ジャッジ時間 | 2,710 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()))
if x in a and x in b:
print('MrMaxValu')
elif x in a:
print('MrMax')
elif x in b:
print('MaxValu')
else:
print(-1)