結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 179 ms
30,216 KB
testcase_01 AC 177 ms
30,408 KB
testcase_02 AC 183 ms
30,352 KB
testcase_03 AC 179 ms
30,428 KB
testcase_04 RE -
testcase_05 AC 82 ms
15,044 KB
testcase_06 AC 80 ms
15,308 KB
testcase_07 RE -
testcase_08 AC 151 ms
25,368 KB
testcase_09 RE -
testcase_10 AC 79 ms
15,272 KB
testcase_11 AC 79 ms
15,288 KB
testcase_12 AC 77 ms
15,268 KB
testcase_13 AC 77 ms
15,140 KB
testcase_14 AC 79 ms
15,160 KB
testcase_15 AC 79 ms
15,152 KB
testcase_16 AC 80 ms
15,156 KB
testcase_17 AC 80 ms
15,096 KB
testcase_18 AC 82 ms
15,040 KB
testcase_19 AC 80 ms
15,296 KB
testcase_20 AC 80 ms
15,040 KB
testcase_21 AC 80 ms
15,168 KB
testcase_22 AC 79 ms
15,044 KB
testcase_23 RE -
testcase_24 AC 81 ms
15,028 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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