結果
問題 |
No.975 ミスターマックスバリュ
|
ユーザー |
|
提出日時 | 2022-01-01 15:45:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 415 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 18,924 KB |
最終ジャッジ日時 | 2024-10-10 05:43:52 |
合計ジャッジ時間 | 1,645 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 7 WA * 2 |
ソースコード
X,N,M = map(int,input().split()) A = list(map(int,input().split())) B = list(map(int,input().split())) s = set(A) d = set(B) if X in A and X in B: ans = 'MrMaxValue' elif X in A: ans = 'MrMax' elif X in B: ans = 'MaxValue' else: ans = -1 print(ans)