結果
問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
ユーザー |
|
提出日時 | 2014-11-27 23:32:16 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 162 ms |
コンパイル使用メモリ | 8,064 KB |
実行使用メモリ | 20,480 KB |
最終ジャッジ日時 | 2025-01-03 09:28:30 |
合計ジャッジ時間 | 6,574 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 30 |
コンパイルメッセージ
Main.rb:1: warning: shebang line ending with \r may cause problems Syntax OK
ソースコード
#!/usr/bin/ruby require 'bigdecimal' s=BigDecimal.new(0) gets.to_i.times{ s+=BigDecimal.new(gets.chomp) } puts '%.10f'%s.to_f