結果
問題 | No.975 ミスターマックスバリュ |
ユーザー |
![]() |
提出日時 | 2020-04-13 21:58:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 62 ms / 2,000 ms |
コード長 | 299 bytes |
コンパイル時間 | 112 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 18,808 KB |
最終ジャッジ日時 | 2024-09-25 10:33:14 |
合計ジャッジ時間 | 1,105 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() x,n,m=map(int,input().split()) A=[int(i) for i in input().split()] B=[int(i) for i in input().split()] A=set(A) B=set(B) if x in A: if x in B: print("MrMaxValu") else: print("MrMax") elif x in B: print("MaxValu") else: print(-1)