結果
問題 | No.975 ミスターマックスバリュ |
ユーザー | uni_python |
提出日時 | 2020-08-12 23:31:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 369 bytes |
コンパイル時間 | 329 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 70,272 KB |
最終ジャッジ日時 | 2024-04-18 00:55:44 |
合計ジャッジ時間 | 1,796 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 43 ms
51,840 KB |
testcase_01 | AC | 42 ms
51,712 KB |
testcase_02 | AC | 42 ms
51,456 KB |
testcase_03 | AC | 42 ms
52,096 KB |
testcase_04 | AC | 42 ms
51,840 KB |
testcase_05 | AC | 43 ms
52,736 KB |
testcase_06 | AC | 42 ms
51,968 KB |
testcase_07 | AC | 46 ms
57,984 KB |
testcase_08 | AC | 60 ms
70,272 KB |
testcase_09 | AC | 42 ms
51,900 KB |
testcase_10 | AC | 42 ms
51,968 KB |
ソースコード
import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def main(): mod=10**9+7 X,N,M=MI() A=LI() B=LI() L=[-1,"MrMax","MaxValu","MrMaxValu"] res=0 if X in A: res+=1 if X in B: res+=2 print(L[res]) main()