結果

問題 No.232 めぐるはめぐる (2)
ユーザー syarosyaro
提出日時 2017-12-02 01:55:16
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 54 ms
コンパイル使用メモリ 11,380 KB
実行使用メモリ 30,320 KB
最終ジャッジ日時 2023-08-18 18:57:00
合計ジャッジ時間 4,603 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 166 ms
30,220 KB
testcase_01 AC 158 ms
30,192 KB
testcase_02 AC 164 ms
30,188 KB
testcase_03 AC 160 ms
30,320 KB
testcase_04 AC 71 ms
17,728 KB
testcase_05 WA -
testcase_06 AC 73 ms
15,048 KB
testcase_07 AC 71 ms
15,144 KB
testcase_08 AC 141 ms
25,124 KB
testcase_09 AC 70 ms
15,164 KB
testcase_10 AC 73 ms
15,156 KB
testcase_11 AC 69 ms
15,160 KB
testcase_12 AC 69 ms
15,176 KB
testcase_13 AC 67 ms
15,256 KB
testcase_14 AC 70 ms
15,144 KB
testcase_15 AC 72 ms
15,348 KB
testcase_16 AC 72 ms
15,176 KB
testcase_17 AC 71 ms
15,128 KB
testcase_18 AC 73 ms
15,088 KB
testcase_19 AC 71 ms
15,316 KB
testcase_20 AC 73 ms
15,300 KB
testcase_21 AC 72 ms
15,048 KB
testcase_22 AC 76 ms
15,252 KB
testcase_23 AC 70 ms
15,036 KB
testcase_24 AC 70 ms
15,132 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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