結果

問題 No.734 Careful Engineer
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-10 23:42:11
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 51 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-09-30 00:16:00
合計ジャッジ時間 2,028 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,080 KB
testcase_01 WA -
testcase_02 AC 76 ms
15,012 KB
testcase_03 WA -
testcase_04 AC 76 ms
15,060 KB
testcase_05 AC 75 ms
15,124 KB
testcase_06 AC 80 ms
15,088 KB
testcase_07 AC 76 ms
15,124 KB
testcase_08 WA -
testcase_09 AC 76 ms
15,220 KB
testcase_10 WA -
testcase_11 AC 76 ms
15,096 KB
testcase_12 AC 76 ms
15,336 KB
testcase_13 AC 76 ms
15,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b,c = gets.split.map(&:to_i)
a *= 60
c *= 60 * 60
puts "-1" if a < b
puts (1..10000000).bsearch{|x| c+b*x <= a*x }
0