結果
問題 | No.975 ミスターマックスバリュ |
ユーザー | futago0118 |
提出日時 | 2020-05-16 17:16:47 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 247 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 11,752 KB |
実行使用メモリ | 16,376 KB |
最終ジャッジ日時 | 2023-10-23 19:42:02 |
合計ジャッジ時間 | 1,352 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 27 ms
10,116 KB |
testcase_01 | AC | 28 ms
10,116 KB |
testcase_02 | AC | 27 ms
10,120 KB |
testcase_03 | AC | 28 ms
10,116 KB |
testcase_04 | AC | 28 ms
10,124 KB |
testcase_05 | AC | 28 ms
10,200 KB |
testcase_06 | AC | 28 ms
10,196 KB |
testcase_07 | AC | 28 ms
10,280 KB |
testcase_08 | AC | 48 ms
16,376 KB |
testcase_09 | AC | 28 ms
10,116 KB |
testcase_10 | AC | 28 ms
10,116 KB |
ソースコード
X,N,M = map(int,input().split()) MM = [int(x) for x in input().split()] MV = [int(x) for x in input().split()] if X in MM and X in MV: print("MrMaxValu") elif X in MM: print("MrMax") elif X in MV: print("MaxValu") else: print(-1)