結果

問題 No.975 ミスターマックスバリュ
ユーザー lloyzlloyz
提出日時 2022-03-14 13:00:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 785 ms
コンパイル使用メモリ 11,708 KB
実行使用メモリ 17,996 KB
最終ジャッジ日時 2023-10-20 03:17:01
合計ジャッジ時間 1,543 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,044 KB
testcase_01 AC 29 ms
10,044 KB
testcase_02 AC 29 ms
10,052 KB
testcase_03 AC 29 ms
10,044 KB
testcase_04 AC 29 ms
10,056 KB
testcase_05 AC 28 ms
10,168 KB
testcase_06 AC 28 ms
10,184 KB
testcase_07 AC 28 ms
10,256 KB
testcase_08 AC 52 ms
17,996 KB
testcase_09 AC 27 ms
10,044 KB
testcase_10 AC 27 ms
10,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, n, m = map(int, input().split())
A = set(map(int, input().split()))
B = set(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)
0