Anti_Kolakoski

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Many sequences of 1's and 2's are subsequences of the Kolakoski sequence. Which ones, with length of at most 8, are not?

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

*NOTHING*

Sample output:

111
222
1111
1112
1222
2111
2221
2222
11111
11112
11121
11122
11222
12111
12121
12221
12222
21111
21112
21212
21222
22111
22211
22212
22221
22222
111111
111112
111121
111122
111211
111212
111221
111222
112111
112121
112211
112221
112222
121111
121112
121211
121212
121222
122111
122211
122212
122221
122222
211111
211112
211121
211122
211222
212111
212121
212122
212221
212222
221111
221112
221122
221212
221222
222111
222112
222121
222122
222211
222212
222221
222222
1111111
1111112
1111121
1111122
1111211
1111212
1111221
1111222
1112111
1112112
1112121
1112122
1112211
1112212
1112221
1112222
1121111
1121112
1121211
1121212
1121222
1122111
1122112
1122211
1122212
1122221
1122222
1211111
1211112
1211121
1211122
1211222
1212111
1212112
1212121
1212122
1212221
1212222
1221111
1221112
1221122
1221212
1221222
1222111
1222112
1222121
1222122
1222211
1222212
1222221
1222222
2111111
2111112
2111121
2111122
2111211
2111212
2111221
2111222
2112111
2112121
2112211
2112221
2112222
2121111
2121112
2121211
2121212
2121221
2121222
2122111
2122211
2122212
2122221
2122222
2211111
2211112
2211121
2211122
2211221
2211222
2212111
2212121
2212122
2212221
2212222
2221111
2221112
2221121
2221122
2221211
2221212
2221221
2221222
2222111
2222112
2222121
2222122
2222211
2222212
2222221
2222222
11111111
11111112
11111121
11111122
11111211
11111212
11111221
11111222
11112111
11112112
11112121
11112122
11112211
11112212
11112221
11112222
11121111
11121112
11121121
11121122
11121211
11121212
11121221
11121222
11122111
11122112
11122121
11122122
11122211
11122212
11122221
11122222
11211111
11211112
11211121
11211122
11211211
11211222
11212111
11212112
11212121
11212122
11212221
11212222
11221111
11221112
11221121
11221122
11221212
11221222
11222111
11222112
11222121
11222122
11222211
11222212
11222221
11222222
12111111
12111112
12111121
12111122
12111211
12111212
12111221
12111222
12112111
12112121
12112211
12112221
12112222
12121111
12121112
12121121
12121122
12121211
12121212
12121221
12121222
12122111
12122211
12122212
12122221
12122222
12211111
12211112
12211121
12211122
12211221
12211222
12212111
12212121
12212122
12212221
12212222
12221111
12221112
12221121
12221122
12221211
12221212
12221221
12221222
12222111
12222112
12222121
12222122
12222211
12222212
12222221
12222222
21111111
21111112
21111121
21111122
21111211
21111212
21111221
21111222
21112111
21112112
21112121
21112122
21112211
21112212
21112221
21112222
21121111
21121112
21121211
21121212
21121222
21122111
21122112
21122211
21122212
21122221
21122222
21211111
21211112
21211121
21211122
21211222
21212111
21212112
21212121
21212122
21212211
21212212
21212221
21212222
21221111
21221112
21221122
21221212
21221222
21222111
21222112
21222121
21222122
21222211
21222212
21222221
21222222
22111111
22111112
22111121
22111122
22111211
22111212
22111221
22111222
22112111
22112121
22112211
22112212
22112221
22112222
22121111
22121112
22121211
22121212
22121221
22121222
22122111
22122122
22122211
22122212
22122221
22122222
22211111
22211112
22211121
22211122
22211211
22211212
22211221
22211222
22212111
22212112
22212121
22212122
22212211
22212212
22212221
22212222
22221111
22221112
22221121
22221122
22221211
22221212
22221221
22221222
22222111
22222112
22222121
22222122
22222211
22222212
22222221
22222222

Ranking

Perl _

RankUserSizeTimeDateStatistics
1tails650.06412022/06/16 11:00:020B / 26B / 38B

Python3 _

RankUserSizeTimeDateStatistics
1xnor950.05422022/06/17 15:20:330B / 46B / 39B
2lynn980.04772022/06/04 05:31:560B / 57B / 34B

C _

RankUserSizeTimeDateStatistics
1tails1510.01392022/06/16 09:48:0213B / 60B / 78B
2chocobi2210.01392022/06/08 15:27:200B / 119B / 102B

sed _

RankUserSizeTimeDateStatistics
1tails880.02132022/06/16 11:27:420B / 26B / 57B

GolfScript _

RankUserSizeTimeDateStatistics
1lynn610.17152022/06/19 06:39:480B / 24B / 35B

gs2 _

RankUserSizeTimeDateStatistics
1tails330.10462022/06/16 10:24:5710B / 11B / 12B
2whio410.17072022/06/07 01:39:4425B / 11B / 4B

Language Ranking_

RankLangUserSizeScore
1gs2tails3310000
2GolfScriptlynn615409
3Perltails655076
4sedtails883750
5Python3xnor953473
6Ctails1512185

return to the top page