結果

問題 No.975 ミスターマックスバリュ
ユーザー akitsugu777akitsugu777
提出日時 2020-05-29 15:15:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 897 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 12,816 KB
最終ジャッジ日時 2023-08-05 06:01:48
合計ジャッジ時間 1,277 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,752 KB
testcase_01 AC 16 ms
7,812 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 16 ms
7,768 KB
testcase_05 AC 18 ms
7,780 KB
testcase_06 AC 17 ms
7,756 KB
testcase_07 AC 18 ms
7,756 KB
testcase_08 AC 25 ms
12,816 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

X = input().split()[0]
L1 = input().split()
L2 = input().split()
s = 'Mr'*(X in L1) + 'Max' + 'Value'*(X in L2)
print('-1' if s == 'Max' else s)
0