結果
| 問題 |
No.975 ミスターマックスバリュ
|
| コンテスト | |
| ユーザー |
kota_rits
|
| 提出日時 | 2020-02-15 04:06:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 48 ms / 2,000 ms |
| コード長 | 330 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 16,116 KB |
| 最終ジャッジ日時 | 2024-10-06 13:40:23 |
| 合計ジャッジ時間 | 1,162 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
from sys import stdin
from math import gcd
x,n,m = map(int,stdin.readline().rstrip().split())
a = list(map(int,stdin.readline().rstrip().split()))
b = list(map(int,stdin.readline().rstrip().split()))
if x in a and x in b:
print("MrMaxValu")
elif x in a:
print("MrMax")
elif x in b:
print("MaxValu")
else:
print(-1)
kota_rits