結果

問題 No.975 ミスターマックスバリュ
ユーザー akitsugu777
提出日時 2020-05-29 14:25:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 253 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 14,436 KB
最終ジャッジ日時 2024-10-15 02:10:19
合計ジャッジ時間 1,429 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

X, _, _ = input().split()
L1 = input().split()
L2 = input().split()

if X in L1 and X not in L2:
    print('MrMax')
elif X not in L1 and X in L2:
    print('MaxValu')
elif X in L1 and X in L2:
    print('MrMaxValu')
else:
    print(-1)
0