結果
| 問題 |
No.975 ミスターマックスバリュ
|
| ユーザー |
splash9494
|
| 提出日時 | 2020-05-05 19:03:25 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 317 bytes |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 70,288 KB |
| 最終ジャッジ日時 | 2024-06-27 00:46:59 |
| 合計ジャッジ時間 | 1,636 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
import sys
input = sys.stdin.buffer.readline
X, N, M = map(int, input().split())
As = list(map(int, input().split()))
Bs = list(map(int, input().split()))
mrmax = X in As
maxvalu = X in Bs
if not mrmax and not maxvalu:
print('-1')
else:
print(('Mr' if mrmax else '') + 'Max' + ('Valu' if maxvalu else ''))
splash9494