結果

問題 No.858 わり算
ユーザー wonda_t_coffeewonda_t_coffee
提出日時 2020-02-08 13:42:42
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 87 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 11,964 KB
実行使用メモリ 16,224 KB
最終ジャッジ日時 2023-10-26 00:50:15
合計ジャッジ時間 1,641 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 85 ms
16,224 KB
testcase_02 AC 82 ms
16,224 KB
testcase_03 AC 81 ms
16,224 KB
testcase_04 AC 84 ms
16,220 KB
testcase_05 AC 82 ms
16,220 KB
testcase_06 AC 87 ms
16,224 KB
testcase_07 AC 86 ms
16,224 KB
testcase_08 AC 86 ms
16,224 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a, b = gets.chomp.split.map(&:to_r)
c = sprintf("%.51f", a / b).chars
c.pop
puts c.join
0