結果

問題 No.565 回転拡大
ユーザー masaktmasakt
提出日時 2017-09-08 23:42:48
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 232 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 7,680 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-04-25 02:41:51
合計ジャッジ時間 3,707 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 79 ms
12,160 KB
testcase_02 AC 75 ms
12,416 KB
testcase_03 AC 74 ms
12,416 KB
testcase_04 WA -
testcase_05 AC 78 ms
12,416 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 75 ms
12,160 KB
testcase_09 AC 76 ms
12,416 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 77 ms
12,160 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 78 ms
12,288 KB
testcase_16 AC 82 ms
12,288 KB
testcase_17 AC 82 ms
12,288 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 90 ms
12,416 KB
testcase_24 AC 76 ms
12,288 KB
testcase_25 AC 75 ms
12,160 KB
testcase_26 AC 75 ms
12,160 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 76 ms
12,288 KB
testcase_30 AC 80 ms
12,160 KB
testcase_31 AC 74 ms
12,288 KB
testcase_32 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: assigned but unused variable - m
Syntax OK

ソースコード

diff #

r,a=gets.split.map &:to_i
n,m=gets.split.map &:to_i
s=[]
n.times{t=gets.chomp.chars.map{|c|c*a};a.times{s<<t}}
s=r<1?s:(r<91?s.reverse.transpose: (r<181?s.reverse.map(&:reverse) :s.transpose.reverse))
s.map{|i|
i.map{|j|$><<j}
puts}
0