結果
| 問題 | No.428 小数から逃げる夢 | 
| コンテスト | |
| ユーザー |  yuruhiya | 
| 提出日時 | 2019-09-15 00:15:07 | 
| 言語 | Ruby (3.4.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 93 ms / 1,000 ms | 
| コード長 | 318 bytes | 
| コンパイル時間 | 173 ms | 
| コンパイル使用メモリ | 7,680 KB | 
| 実行使用メモリ | 12,416 KB | 
| 最終ジャッジ日時 | 2024-07-06 22:36:07 | 
| 合計ジャッジ時間 | 11,200 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 100 | 
コンパイルメッセージ
Main.rb:5: warning: `elsif' at the end of line without an expression Syntax OK
ソースコード
d=1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991 n=gets.to_i if n<=8 print "0.",d*n,"\n" elsif ans = (d*n).to_s print ans[0,ans.length-190],".",ans[-190,10000],"\n" end
