結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2019-12-01 19:21:03 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 45 bytes |
コンパイル時間 | 114 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,544 KB |
最終ジャッジ日時 | 2024-11-21 15:06:49 |
合計ジャッジ時間 | 2,835 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 22 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
n = gets.to_i def calc n(1+n)/2 end calc