結果
問題 | No.975 ミスターマックスバリュ |
ユーザー | pypypymi |
提出日時 | 2021-12-31 09:26:59 |
言語 | PyPy3 (7.3.13) |
結果 |
AC
|
実行時間 | 84 ms / 2,000 ms |
コード長 | 291 bytes |
コンパイル時間 | 299 ms |
コンパイル使用メモリ | 87,228 KB |
実行使用メモリ | 81,272 KB |
最終ジャッジ日時 | 2023-07-29 14:17:41 |
合計ジャッジ時間 | 2,268 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 71 ms
71,300 KB |
testcase_01 | AC | 71 ms
71,284 KB |
testcase_02 | AC | 72 ms
71,092 KB |
testcase_03 | AC | 72 ms
71,220 KB |
testcase_04 | AC | 71 ms
71,548 KB |
testcase_05 | AC | 73 ms
71,196 KB |
testcase_06 | AC | 74 ms
71,288 KB |
testcase_07 | AC | 74 ms
75,692 KB |
testcase_08 | AC | 84 ms
81,272 KB |
testcase_09 | AC | 70 ms
71,224 KB |
testcase_10 | AC | 72 ms
71,044 KB |
ソースコード
x,n,m = map(int,input().split()) an = list(map(int,input().split())) bn = list(map(int,input().split())) if (x in an) and (x in bn): print("MrMaxValu") elif (x in an) and (x not in bn): print("MrMax") elif (x not in an) and (x in bn): print("MaxValu") else: print("-1")