結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 188 ms
31,172 KB
testcase_01 AC 182 ms
31,172 KB
testcase_02 AC 188 ms
31,172 KB
testcase_03 AC 190 ms
31,172 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 88 ms
16,076 KB
testcase_07 WA -
testcase_08 AC 157 ms
26,664 KB
testcase_09 WA -
testcase_10 AC 86 ms
16,076 KB
testcase_11 AC 88 ms
16,076 KB
testcase_12 AC 88 ms
16,076 KB
testcase_13 AC 86 ms
16,076 KB
testcase_14 AC 86 ms
16,076 KB
testcase_15 AC 85 ms
16,072 KB
testcase_16 AC 87 ms
16,076 KB
testcase_17 AC 85 ms
16,076 KB
testcase_18 AC 87 ms
16,076 KB
testcase_19 AC 85 ms
16,076 KB
testcase_20 AC 86 ms
16,072 KB
testcase_21 AC 84 ms
16,076 KB
testcase_22 AC 87 ms
16,072 KB
testcase_23 WA -
testcase_24 AC 85 ms
16,076 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