結果

問題 No.975 ミスターマックスバリュ
ユーザー KyoproR
提出日時 2020-02-14 14:20:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 292 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 16,208 KB
最終ジャッジ日時 2024-10-06 07:54:24
合計ジャッジ時間 886 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

x,n,m = map(int,input().split())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
flag = 0
if x in A:
    flag += 1
if x in B:
    flag += 2
if flag == 3:
    print("MrMaxValu")
elif flag == 2:
    print("MaxValu")
elif flag == 1:
    print("MrMax")
else:
    print("-1")
0