結果

問題 No.975 ミスターマックスバリュ
ユーザー くまちゃんくまちゃん
提出日時 2022-02-22 13:35:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 442 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 14,472 KB
最終ジャッジ日時 2023-09-13 04:16:54
合計ジャッジ時間 1,042 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,812 KB
testcase_01 AC 15 ms
7,856 KB
testcase_02 AC 15 ms
7,780 KB
testcase_03 AC 16 ms
7,856 KB
testcase_04 AC 14 ms
7,964 KB
testcase_05 AC 15 ms
7,956 KB
testcase_06 AC 14 ms
7,852 KB
testcase_07 AC 15 ms
8,256 KB
testcase_08 AC 34 ms
14,472 KB
testcase_09 AC 15 ms
7,960 KB
testcase_10 AC 15 ms
7,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    apoi = [int(x) for x in input().split()]
    mrmax = [int(x) for x in input().split()]
    maxvalu = [int(x) for x in input().split()]

    if apoi[0] in mrmax and apoi[0] not in maxvalu:
        print('MrMax')
    elif apoi[0] in maxvalu and apoi[0] not in mrmax:
        print('MaxValu')
    elif apoi[0] in mrmax and maxvalu:
        print('MrMaxValu')
    else:
        print('-1')


if __name__ == '__main__':
    main()
0