結果

問題 No.975 ミスターマックスバリュ
ユーザー mlihua09
提出日時 2020-08-28 12:23:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 262 bytes
コンパイル時間 563 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 65,536 KB
最終ジャッジ日時 2024-11-09 01:09:41
合計ジャッジ時間 1,585 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #


X, N, M = map(int, input().split())

b1 = X in map(int, input().split())

b2 = X in map(int, input().split())

if b1 and b2:
    
    print("MrMaxValu")
    
elif b1:
    
    print("MrMax")
    
elif b2:
    
    print('MaxValu')
    
else:
    
    print(-1)
0