結果

問題 No.975 ミスターマックスバリュ
ユーザー tachyon777
提出日時 2020-02-13 12:13:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 380 ms
コンパイル使用メモリ 82,288 KB
実行使用メモリ 70,272 KB
最終ジャッジ日時 2024-10-05 12:57:25
合計ジャッジ時間 1,520 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

x,n,m = map(int,input().split())
lst1 = list(map(int,input().split()))
lst2 = list(map(int,input().split()))

tf1 = x in lst1
tf2 = x in lst2

if tf1 and tf2:
    print("MrMaxValu")
elif tf1:
    print("MrMax")
elif tf2:
    print("MaxValu")
else:
    print("-1")
0