結果

問題 No.231 めぐるはめぐる (1)
ユーザー cielciel
提出日時 2015-06-27 00:31:56
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 101 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 15,324 KB
最終ジャッジ日時 2023-09-22 02:50:55
合計ジャッジ時間 3,053 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,144 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 86 ms
15,140 KB
testcase_04 AC 89 ms
15,068 KB
testcase_05 WA -
testcase_06 AC 88 ms
15,220 KB
testcase_07 AC 87 ms
15,168 KB
testcase_08 AC 87 ms
15,088 KB
testcase_09 AC 86 ms
15,116 KB
testcase_10 AC 84 ms
15,140 KB
testcase_11 WA -
testcase_12 AC 87 ms
15,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
i=0
a=$<.map{|e|a,b=e.split.map &:to_i
[a-30000*b,i+=1]}.max
puts a[0]<500000?:NO: :YES,[a[1]]*6
0