結果
問題 | No.646 逆ピラミッド |
ユーザー |
![]() |
提出日時 | 2018-04-11 02:19:32 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 94 ms / 2,000 ms |
コード長 | 81 bytes |
コンパイル時間 | 37 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-26 21:10:01 |
合計ジャッジ時間 | 1,681 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
コンパイルメッセージ
Main.rb:4: warning: assigned but unused variable - i Syntax OK
ソースコード
n = gets.chompsum = n.to_ifor i in 1..n.to_iputs n * sumsum -= 1end