結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,768 KB
testcase_01 AC 73 ms
15,092 KB
testcase_02 AC 76 ms
15,092 KB
testcase_03 AC 79 ms
15,604 KB
testcase_04 AC 81 ms
15,788 KB
testcase_05 AC 84 ms
15,552 KB
testcase_06 AC 80 ms
15,452 KB
testcase_07 AC 77 ms
15,076 KB
testcase_08 AC 77 ms
15,588 KB
testcase_09 AC 77 ms
15,308 KB
testcase_10 AC 74 ms
15,060 KB
testcase_11 AC 73 ms
15,288 KB
testcase_12 AC 76 ms
15,640 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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