結果

問題 No.231 めぐるはめぐる (1)
ユーザー mmmpppmmmppp
提出日時 2017-02-27 21:25:36
言語 Ruby
(3.3.0)
結果
AC  
実行時間 93 ms / 1,000 ms
コード長 87 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 15,880 KB
最終ジャッジ日時 2023-09-02 13:11:05
合計ジャッジ時間 2,309 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
15,828 KB
testcase_01 AC 90 ms
15,144 KB
testcase_02 AC 84 ms
15,184 KB
testcase_03 AC 88 ms
15,372 KB
testcase_04 AC 91 ms
15,880 KB
testcase_05 AC 88 ms
15,348 KB
testcase_06 AC 87 ms
15,460 KB
testcase_07 AC 85 ms
15,116 KB
testcase_08 AC 86 ms
15,328 KB
testcase_09 AC 81 ms
15,164 KB
testcase_10 AC 81 ms
15,016 KB
testcase_11 AC 81 ms
15,088 KB
testcase_12 AC 87 ms
15,392 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;a=$<.map{|e|eval e.split*'-30000*'};m=a.max;puts m<5e5?:NO:[:YES,[1+a.index(m)]*6]
0