結果

問題 No.232 めぐるはめぐる (2)
ユーザー syarosyaro
提出日時 2016-01-19 22:37:54
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 11,792 KB
実行使用メモリ 31,076 KB
最終ジャッジ日時 2023-10-21 13:17:06
合計ジャッジ時間 4,824 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 191 ms
31,076 KB
testcase_01 AC 185 ms
31,076 KB
testcase_02 AC 188 ms
31,076 KB
testcase_03 AC 186 ms
31,076 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 88 ms
15,980 KB
testcase_07 WA -
testcase_08 AC 157 ms
26,568 KB
testcase_09 WA -
testcase_10 AC 85 ms
15,980 KB
testcase_11 AC 86 ms
15,980 KB
testcase_12 AC 88 ms
15,976 KB
testcase_13 AC 86 ms
15,980 KB
testcase_14 AC 85 ms
15,980 KB
testcase_15 AC 85 ms
15,980 KB
testcase_16 AC 85 ms
15,980 KB
testcase_17 AC 85 ms
15,980 KB
testcase_18 AC 88 ms
15,980 KB
testcase_19 AC 87 ms
15,980 KB
testcase_20 AC 88 ms
15,980 KB
testcase_21 AC 88 ms
15,980 KB
testcase_22 AC 87 ms
15,980 KB
testcase_23 WA -
testcase_24 AC 86 ms
15,980 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

(T,A,B=gets.split.map &:to_i
"".*T+A+B-2
a=[?^]*A+[?^,?v]*((a=T-A)/2)+[""]*a%=2
b=[""]*((b=T-B)%2)+[?<,?>]*(b/2)+[?>]*B
puts [:YES]+a.zip(b).map{|x,y|x+y})rescue$><<:NO
0