Hatena::ブログ(Diary)

HOJメモ

2012-01-15

第5回HOJコンテストB問題想定解?

| 23:09

http://karu.ninja-web.net/hoj/contest5.html
masさんに想定解でっちあげろと言われたので。


1281[Contest 5B - 1 1] 12B

a(X):srXrsa(sX)
ra()

1282[Contest 5B - 2 Gravity] 9B

a:rsslsa
ra

1283[Contest 5B - 3 Triangle] 13B

a(X):XlXa(srslX)
a(l)

1284[Contest 5B - 4 Baseball ground] 17B

a(X):XX
a(a(a(a(a(a(sr)a(rs)))r)r))

1285[Contest 5B - 5 zigzag] 19B

a(X,Y):XXa(Xrr,Y-1)s
ssa(ssr,10)

1286[Contest 5B - 6 Copious Marker] 13B

a(X):XXXa(srslX)
a(r)

1287[Contest 5B - 7 Spoon] 12B

a(X,Y):Ya(sX,XXY)
a(r,)

1288[Contest 5B - 8 Squares] 18B

a(X):XX
a(a(a(a(a(a(la(a(ss))l)s)))r))

1289[Contest 5B - 9 nine rooms] 19B

a(X):XXXXl
a(a(a(a(ssls))a(ss)r))

Connection: close