結果
| 問題 |
No.8100 始業式
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-31 22:39:24 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 131 bytes |
| コンパイル時間 | 147 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 13,440 KB |
| 最終ジャッジ日時 | 2024-09-23 01:27:58 |
| 合計ジャッジ時間 | 693 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
コンパイルメッセージ
Main.rb:6: warning: assigned but unused variable - n Main.rb:3: warning: assigned but unused variable - omochi Syntax OK
ソースコード
def lscan; gets.chomp.split.map(&:to_i); end omochi = 0 gets.to_i.times do n = lscan aa = lscan o = aa.reduce(:+) p o end