結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2021-03-22 13:49:51 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 78 bytes |
コンパイル時間 | 361 ms |
コンパイル使用メモリ | 7,296 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-11-24 00:18:00 |
合計ジャッジ時間 | 3,627 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 22 |
コンパイルメッセージ
Main.rb:7: warning: possibly useless use of + in void context Main.rb:3: warning: assigned but unused variable - x Syntax OK
ソースコード
N = gets.to_i x =1 N.each do |x| if N <= 100 x + 1 1+ x end end