結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 182 ms
30,340 KB
testcase_01 AC 183 ms
30,144 KB
testcase_02 AC 183 ms
30,156 KB
testcase_03 AC 182 ms
30,384 KB
testcase_04 AC 84 ms
17,520 KB
testcase_05 WA -
testcase_06 AC 81 ms
15,328 KB
testcase_07 AC 80 ms
15,272 KB
testcase_08 AC 153 ms
24,596 KB
testcase_09 AC 82 ms
15,136 KB
testcase_10 AC 82 ms
15,236 KB
testcase_11 AC 81 ms
15,128 KB
testcase_12 AC 81 ms
15,176 KB
testcase_13 AC 81 ms
15,052 KB
testcase_14 AC 82 ms
15,280 KB
testcase_15 AC 81 ms
14,996 KB
testcase_16 AC 81 ms
15,252 KB
testcase_17 AC 81 ms
15,248 KB
testcase_18 AC 82 ms
15,156 KB
testcase_19 AC 81 ms
15,260 KB
testcase_20 AC 81 ms
15,332 KB
testcase_21 AC 82 ms
15,156 KB
testcase_22 AC 81 ms
15,268 KB
testcase_23 AC 82 ms
15,252 KB
testcase_24 AC 83 ms
15,120 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)+[""*T]).map{|y,x|x+y}rescue :NO)
0