結果

問題 No.975 ミスターマックスバリュ
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-04-16 13:07:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 240 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 86,968 KB
実行使用メモリ 81,364 KB
最終ジャッジ日時 2023-08-26 17:38:06
合計ジャッジ時間 1,939 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,388 KB
testcase_01 AC 64 ms
71,300 KB
testcase_02 AC 67 ms
71,164 KB
testcase_03 AC 68 ms
71,200 KB
testcase_04 AC 68 ms
71,372 KB
testcase_05 AC 71 ms
71,200 KB
testcase_06 AC 65 ms
71,428 KB
testcase_07 AC 67 ms
75,980 KB
testcase_08 AC 75 ms
81,364 KB
testcase_09 AC 64 ms
71,060 KB
testcase_10 AC 63 ms
71,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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