結果

問題 No.218 経験値1.5倍
ユーザー cielciel
提出日時 2015-05-29 22:25:55
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 102 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 11,552 KB
実行使用メモリ 15,388 KB
最終ジャッジ日時 2023-09-20 16:09:16
合計ジャッジ時間 4,140 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,124 KB
testcase_01 WA -
testcase_02 AC 83 ms
15,240 KB
testcase_03 AC 82 ms
15,340 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 82 ms
15,064 KB
testcase_07 AC 81 ms
15,264 KB
testcase_08 AC 82 ms
15,248 KB
testcase_09 AC 83 ms
15,112 KB
testcase_10 WA -
testcase_11 AC 82 ms
15,344 KB
testcase_12 AC 82 ms
15,064 KB
testcase_13 AC 82 ms
15,280 KB
testcase_14 AC 81 ms
15,200 KB
testcase_15 AC 81 ms
15,128 KB
testcase_16 AC 82 ms
15,104 KB
testcase_17 AC 82 ms
15,112 KB
testcase_18 AC 82 ms
15,160 KB
testcase_19 AC 83 ms
15,160 KB
testcase_20 AC 84 ms
15,128 KB
testcase_21 AC 81 ms
15,332 KB
testcase_22 AC 82 ms
15,240 KB
testcase_23 AC 82 ms
15,276 KB
testcase_24 WA -
testcase_25 AC 83 ms
15,164 KB
testcase_26 WA -
testcase_27 AC 83 ms
15,272 KB
testcase_28 AC 83 ms
15,016 KB
testcase_29 WA -
testcase_30 AC 82 ms
15,244 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!/usr/bin/ruby
a,b,c=$<.map(&:to_i)
n=(a+b-1)/b
if n%3==0 && n*2/3*c>=a
	puts :YES
else
	puts :NO
end
0