結果
| 問題 |
No.858 わり算
|
| コンテスト | |
| ユーザー |
wonda_t_coffee
|
| 提出日時 | 2020-02-08 13:46:36 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 93 bytes |
| コンパイル時間 | 1,029 ms |
| コンパイル使用メモリ | 8,064 KB |
| 実行使用メモリ | 13,056 KB |
| 最終ジャッジ日時 | 2025-01-05 14:52:56 |
| 合計ジャッジ時間 | 3,372 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 1 |
コンパイルメッセージ
Syntax OK
ソースコード
a, b = gets.chomp.split.map(&:to_r)
c = sprintf("%.52f", a / b).chars
c.pop
c.pop
puts c.join
wonda_t_coffee