結果
| 問題 |
No.646 逆ピラミッド
|
| コンテスト | |
| ユーザー |
tanukidon
|
| 提出日時 | 2018-03-18 18:32:27 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 54 bytes |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-12-29 12:31:20 |
| 合計ジャッジ時間 | 2,115 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | WA * 7 |
コンパイルメッセージ
Main.rb:3: warning: `*' after local variable or literal is interpreted as binary operator Main.rb:3: warning: even though it seems like argument prefix Syntax OK
ソースコード
n = gets.chomp.to_i n.times do |i| puts n *(n - i) end
tanukidon