結果
問題 | No.975 ミスターマックスバリュ |
ユーザー | KisaragiEffective |
提出日時 | 2020-11-06 20:31:54 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 167 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 11,316 KB |
実行使用メモリ | 18,396 KB |
最終ジャッジ日時 | 2023-09-29 17:55:39 |
合計ジャッジ時間 | 1,762 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 74 ms
15,276 KB |
testcase_03 | AC | 74 ms
15,144 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 77 ms
15,128 KB |
testcase_08 | WA | - |
testcase_09 | AC | 75 ms
15,288 KB |
testcase_10 | AC | 75 ms
15,176 KB |
コンパイルメッセージ
Syntax OK
ソースコード
X = gets.split[0].to_i # MrMax M = gets.split.map(&:to_i).include?(X) # MaxValu V = gets.split.map(&:to_i).include?(X) puts M ? (V ? "MrMaxValu" : "MrMax") : "MaxValu"