結果
問題 | No.2054 Different Sequence |
ユーザー | hPaProject |
提出日時 | 2023-01-05 15:55:19 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 80 bytes |
コンパイル時間 | 108 ms |
コンパイル使用メモリ | 11,260 KB |
実行使用メモリ | 19,740 KB |
最終ジャッジ日時 | 2023-08-19 13:13:22 |
合計ジャッジ時間 | 4,843 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | TLE | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
コンパイルメッセージ
Syntax OK
ソースコード
n = gets.to_i sum = 0.0 n.times do |i| sum += 1.0 / (i+1) end puts sum / 100