結果

問題 No.218 経験値1.5倍
ユーザー Takuya NoguchiTakuya Noguchi
提出日時 2018-04-05 19:11:51
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 118 ms
コンパイル使用メモリ 11,460 KB
実行使用メモリ 15,328 KB
最終ジャッジ日時 2023-09-08 17:50:03
合計ジャッジ時間 4,325 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,040 KB
testcase_01 AC 80 ms
15,176 KB
testcase_02 AC 79 ms
15,096 KB
testcase_03 AC 79 ms
15,072 KB
testcase_04 AC 81 ms
15,036 KB
testcase_05 AC 81 ms
15,076 KB
testcase_06 AC 81 ms
15,120 KB
testcase_07 AC 81 ms
15,268 KB
testcase_08 AC 83 ms
15,148 KB
testcase_09 AC 81 ms
15,124 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 83 ms
15,248 KB
testcase_14 AC 82 ms
15,140 KB
testcase_15 AC 81 ms
15,328 KB
testcase_16 WA -
testcase_17 AC 82 ms
15,320 KB
testcase_18 AC 81 ms
15,092 KB
testcase_19 AC 82 ms
15,072 KB
testcase_20 AC 80 ms
15,272 KB
testcase_21 AC 80 ms
15,220 KB
testcase_22 AC 81 ms
15,148 KB
testcase_23 AC 80 ms
15,152 KB
testcase_24 AC 81 ms
15,076 KB
testcase_25 AC 83 ms
15,168 KB
testcase_26 WA -
testcase_27 AC 80 ms
15,092 KB
testcase_28 WA -
testcase_29 AC 81 ms
15,072 KB
testcase_30 AC 82 ms
15,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a, b, c = readlines.map(&:to_i)

if (Rational(a, b) * Rational(2, 3)).to_i >= Rational(a, c).ceil
  puts 'YES'
else
  puts 'NO'
end
0