結果
問題 | No.987 N×Mマス計算(基本) |
ユーザー |
|
提出日時 | 2020-02-16 18:48:37 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 129 bytes |
コンパイル時間 | 120 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,672 KB |
最終ジャッジ日時 | 2024-10-06 14:36:43 |
合計ジャッジ時間 | 2,790 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 9 WA * 9 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - op Syntax OK
ソースコード
a=`dd`.splitn,m=a.shift(2).map(&:to_i)op=a.shiftb=a.shift(m).map(&:to_i)a=a.map(&:to_i)n.times{|i|puts b.map{|e|a[i]*e}*' '}