結果

問題 No.975 ミスターマックスバリュ
ユーザー tachyon777tachyon777
提出日時 2020-02-13 12:13:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 1,204 ms
コンパイル使用メモリ 82,492 KB
実行使用メモリ 70,400 KB
最終ジャッジ日時 2024-04-15 14:52:08
合計ジャッジ時間 1,427 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,840 KB
testcase_01 AC 40 ms
51,584 KB
testcase_02 AC 43 ms
51,712 KB
testcase_03 AC 41 ms
51,968 KB
testcase_04 AC 41 ms
52,096 KB
testcase_05 AC 41 ms
52,352 KB
testcase_06 AC 41 ms
52,224 KB
testcase_07 AC 44 ms
58,112 KB
testcase_08 AC 55 ms
70,400 KB
testcase_09 AC 40 ms
51,840 KB
testcase_10 AC 39 ms
51,584 KB
権限があれば一括ダウンロードができます

ソースコード

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