結果
問題 | No.975 ミスターマックスバリュ |
ユーザー |
|
提出日時 | 2022-02-22 13:35:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 51 ms / 2,000 ms |
コード長 | 442 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 16,224 KB |
最終ジャッジ日時 | 2024-06-30 14:29:39 |
合計ジャッジ時間 | 1,028 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
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()