結果

問題 No.232 めぐるはめぐる (2)
ユーザー syarosyaro
提出日時 2017-12-02 02:04:48
言語 Ruby
(3.3.0)
結果
AC  
実行時間 194 ms / 1,000 ms
コード長 142 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 11,356 KB
実行使用メモリ 32,592 KB
最終ジャッジ日時 2023-10-12 13:48:32
合計ジャッジ時間 4,418 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 183 ms
30,964 KB
testcase_01 AC 194 ms
32,592 KB
testcase_02 AC 183 ms
31,004 KB
testcase_03 AC 188 ms
31,784 KB
testcase_04 AC 83 ms
17,596 KB
testcase_05 AC 82 ms
15,324 KB
testcase_06 AC 82 ms
15,260 KB
testcase_07 AC 82 ms
15,012 KB
testcase_08 AC 158 ms
26,628 KB
testcase_09 AC 83 ms
15,124 KB
testcase_10 AC 82 ms
15,272 KB
testcase_11 AC 82 ms
15,224 KB
testcase_12 AC 81 ms
15,148 KB
testcase_13 AC 81 ms
15,264 KB
testcase_14 AC 81 ms
15,316 KB
testcase_15 AC 82 ms
15,276 KB
testcase_16 AC 81 ms
15,156 KB
testcase_17 AC 82 ms
15,108 KB
testcase_18 AC 84 ms
15,020 KB
testcase_19 AC 82 ms
15,036 KB
testcase_20 AC 83 ms
15,156 KB
testcase_21 AC 82 ms
15,144 KB
testcase_22 AC 81 ms
15,140 KB
testcase_23 AC 82 ms
15,112 KB
testcase_24 AC 81 ms
15,108 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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