結果

問題 No.893 お客様を誘導せよ
ユーザー wipexwipex
提出日時 2019-10-19 11:34:08
言語 Ruby
(3.3.0)
結果
AC  
実行時間 215 ms / 2,000 ms
コード長 261 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 17,116 KB
最終ジャッジ日時 2023-09-09 06:29:49
合計ジャッジ時間 3,072 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,076 KB
testcase_01 AC 82 ms
15,136 KB
testcase_02 AC 103 ms
15,876 KB
testcase_03 AC 157 ms
16,812 KB
testcase_04 AC 156 ms
16,608 KB
testcase_05 AC 150 ms
16,552 KB
testcase_06 AC 130 ms
16,448 KB
testcase_07 AC 81 ms
15,208 KB
testcase_08 AC 215 ms
17,116 KB
testcase_09 AC 103 ms
16,144 KB
testcase_10 AC 81 ms
15,076 KB
testcase_11 AC 101 ms
16,136 KB
testcase_12 AC 104 ms
16,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chomp.to_i
aaa = []
ccc = []
MAX = 100
for i in 0..n-1 do
  aaa.push(gets.chomp.split(" ").map(&:to_i))
end

for j in 1..MAX do
  for i in 0..n-1 do
    ccc.push(aaa[i][j])
  end
end

ccc.each do |elm|
  print elm," " unless elm == nil
end

print "\n"
0