結果

問題 No.975 ミスターマックスバリュ
ユーザー cotton_fn_cotton_fn_
提出日時 2020-01-31 22:56:17
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 14,972 KB
最終ジャッジ日時 2023-10-17 11:42:02
合計ジャッジ時間 1,115 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,016 KB
testcase_01 AC 30 ms
10,016 KB
testcase_02 AC 27 ms
10,024 KB
testcase_03 AC 27 ms
10,020 KB
testcase_04 AC 27 ms
10,028 KB
testcase_05 AC 27 ms
10,080 KB
testcase_06 AC 28 ms
10,084 KB
testcase_07 AC 28 ms
10,172 KB
testcase_08 AC 36 ms
14,972 KB
testcase_09 AC 28 ms
10,016 KB
testcase_10 AC 27 ms
10,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, n, m = input().split()
a = input().split()
b = input().split()
exa = x in a
exb = x in b
ans = ["-1", "MrMax", "MaxValu", "MrMaxValu"][2 * exb + exa]
print(ans)
0