Wonderful Multisets

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

1 is wonderful.
0 is not wonderful.
A multiset is wonderful if at least half of its elements are wonderful.
{001{1}} is the multiset containing 2 0s, a 1, and a multiset containing a 1. So it has 2 non-wonderful elements and 2 wonderful elements, so it's wonderful.
Print 1 for wonderful elements, 0 for non-wonderful elements.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

{1}
{0}
{10}
{100}
{0011}
{00{111}}
{{1}{0}{0}}
{0{{{1}}}0}
{{10}{000001}{11}}

Sample output:

1
0
1
0
1
0
0
0
1

Sample input:_

{000}
{11}
{0}
{00011}
{11{01}0}
{11000}
{01}
{1{{{0{{0}}}}1{00}1}{{1}{{1}0{{{0}}}}}11}
{{0}00{{{1}}1}}
{1{{0{00}{{0}{{{0}}}}}}{{0}{0}00}}
{0{00}{{0{{{1}}{0}}}{{{{0}}}01}{{1}{0}}1}}
{110}
{1{1{11}0}}
{{0}}
{11{01}{{1}{0}11}0}
{010}
{{1}0}
{{0}01}
{{0{0}0}1}
{{{0}{{0}{0}0}{10{10}}}101}
{10}
{00}
{0000{100}}
{{10}00}
{{111{{0}0}}{1{1}{{00}1}0}100}
{101{1{11}{0}}}
{10{110{{{{0}}}}}0}
{101{1}}
{{{1{11}}}0{0}{1{1}}}
{{1{{0}00}0}0}
{{1{01{{0}{0}}}}01{0}0}
{{{1{0}}1{10}}1}
{0{1}{1{1{0}{{0}0}}00}{000}{{{1}{{1}0}}{00}{0}}}
{11100}
{{{10}00}{{{{0}0}{1}{{{1}}1}}}{1}}
{{1}0{0}1}
{1}
{1{1}0{1}}
{0{{1{1}1}{110}}000}
{000{{10{00}}{01}{110}}}
{{11}0}
{{101}11}
{{1}1}
{11{101}}
{1{1101}{{{{0}0}0}00{{11}11}}01}
{{0}{1}}
{011{0}0}
{01{{1}}}
{{0}10{{0}}}
{0000}
{{{{0}}{{11}10}0}{0{{0}1}}0}
{{00}11}
{{{0}1}}
{100}
{{0}11{{{{0}}}1}{110}}
{{10}}
{1{{0{0}0}01}1{0}{0{10{0}}1}}
{{1}10{111}}
{1001}
{{1}1{01}{1}{10}}
{{10{10}0}11{{1{1}}}}
{0{1}0{{{{0}}}{11}}0}
{0{01}100}
{1{01}1{0{0}1}}
{{0{0}{{{{0}}{0}}}0}{10{{{1}}0}1}0}
{{11}1}
{01{1}{{1}0}1}
{1{1}{1{{0{0}}1{{0}0}}{1}1}1}
{0101}
{{1}{{{1}}100}{011}}
{{0{0{{{0}}0}1}0{{{0}}{0{{{0}}}}}}1}
{{{{0}00}}00}
{0001}
{1{{{1{0}}11}010}}
{{0}0}
{1{10{{1{{1}}}}1}{10}{010}{{1}00}}
{0{111}}
{{1{0{10}}{0}}}
{0{{1}}0}
{1{{1}1}{0{{1}11}{0}}{{0}1}0}
{01{1}{1}1}
{01{0011}}
{{{00}11}01{10}0}
{0{0}100}
{1{{0}}111}
{{{0}}010}
{{10{{{0}1}{1}}}}
{0010}
{1{0{{10}0}10}1{011}1}
{01{{1{0{{0}}}}1}1}
{{0}10{01}}
{1{10{1{{{1}}1}{{0}1}}}{1}}
{101}
{1{1}1{0}}
{01{{1}00}0}
{011}
{1{1}100}
{0{0}1{{{{{{1}}}{{{{1}}}}}{{1}{1}}}{{01}}11}1}
{1110}
{{{10}10}}
{1{01{01}}}
{0{1}{10}}
{{1}00{1100}{{1{0{0}}}0{0{{{0}}1}{1}}{0}}}
{1{10{0{0}0}}0}
{{00}{1}{10}{{{0}}}0}
{{{00{{1}1}}0}10}
{{001}01}
{1{{01}}{{1{{0}0}}}0}
{{{{{1}}0}0{0{{{1}}}0}1}{1}1{011}0}
{{1}}
{1{{00{0{{{0}}}}}{000}00}111}
{1101}
{110{{0{0{0}}}}1}
{{{011}0}}
{{0}0{0011}1}
{{1{{0}10}0}0}
{{11}01}
{1{{1}{{0}1}0}{{01{0}}{10}11}{11{{{1}1}1}}0}
{01101}
{{0{10}{{1}}}1{{{01}}}{1}}
{100{010}0}
{{11}{1{1{{{{{{{{1}}}}}}}}1}0{{{{0}}}}}}
{11{0{0{1}0}{{0}}0}1}
{{0{10}}001}
{{{1{{{1}}{{0}}}1}01}{111}0{1{01}{0}{1{1{1}}{{1}}}}1}
{{0}01{0{11}{{1}}{10}}1}
{{{1}{{1{1}}}{{00}{10}0}}01{1}}
{0000{0{11}}}
{111{01}}
{{0{{1}}}{110}{1{{{0}0}}}1{{01{11}}0}}
{{1}{00{1}}001}
{11{1111}10}
{0{00{1{{{0}}}}}11}
{01110}
{{{{0{0}}1}}000{{01}0}}
{{{{00}}{{00}1}}1}
{{1}0{{0}}0{{0}01}}
{{00{{1}{{1}}1}0}1}
{10{1{{1}1{0}}{{{0}}}{1{{1}}{{1}1}}}}
{0{00}10}
{11101}
{{0{{0}{00}0}1}}
{00{11}00}
{01{1}1}
{{01}{0}{{{{0}}}}1}
{{01}{101}0}
{{{111}1}{1}0}
{{{1{1}}{0}{010}}}
{{0}001}
{0{0010}{001}11}
{{0000}010}
{001}
{{0{0{0}{11}}}}
{1{010{{{0}1}0}}{{0{1{1}}{0}}1}}
{{{00}1}{111}}
{0{01}11}
{11{{0{0}}}}
{1{1}}
{01001}
{{{{{{{0}}}0}}}1}
{{1{0{{1}0}}{00}}{0}1{{0{{1}0}}{111}{01}}}
{1{{1}1}{0{0}}{1{01}00}}
{{01}}
{1{1}10{011}}
{{{{10}{1}0}{1}0}0011}
{1{101{1{{{{0}}}0}1}}10}
{111}
{{{{01}}}0{{{01}}0}00}
{{0{{{{{1}}}}00}}{0}{{{1{{1}}}0}{{{0}}0{01}}{00}1}}
{01{0010}{100}0}
{{1100}0}
{1{111{{{{1}}}}}}
{{1{{00}}}10}
{{1{1}00}{10{1{{0}0}}}{0{1{1{0}}}}0{{{{0}}0{11}}01}}
{1{1000}010}
{{{{01}{10}{{1}}}}}
{100{{01{00}}{1}{01}}}
{0{1{1}}{001}{{00{{1}{1}}}1}}
{10{{11}0}}
{10{0}0}
{{11}{1011}0{{{{{0}}{{1}}}01}}1}
{{{{11}1}00{{{1}0}10}}110{{{{0}}0{1}}}}
{{00{00{1}}}{001{1{{0}}{{{{{0}}}}}}}{{{1}{{1}}}{1{00}}{010}1}{100{{0{1}}0}}}
{1{0{{1}1}}1{1}{{01}11}}
{1{0{{01}1}1}{{1}1}}
{{{0{1}}}100}
{{0}{{0{1{{1}}}{0}}01}1}
{{1{10}}0{{{0}{{{1}}1}}}0}
{{{11{{1}{1}}}{1}}0010}
{00{00}}
{0{0}}
{00{1}1{1{01}01}}
{001{11}}
{{0{1}}0}
{{{1{0{{{1}}}}0}}{01}0{00}0}
{1{0{{11}{10}{1{{0}}}}{{1}1}}0}
{0111}
{{{{1}}{{1}}{0}}0{11}}
{1{11{0}0}01{00}}
{1{1{{{1}0}11}1}0}
{{00}101}
{1{1{00{00}}0}0}
{{{101}{{0}0}}{{{1{0}}{1}0}}}
{{0}10{00{11}}0}
{{111{00{01}}}}
{1{10{{01}}0}1}
{1{1{01}{00}}10}
{{01{0{11}}}1111}
{{1001}}
{{0}00{10{{0}1}{{1}}}{01}}
{{{00}{0{{1}1}}}}
{{1{{00}{11}}01}{11}{{{11}1}{10}0}0{{00}110}}
{11{000}}
{0{0{0}{1}}}
{{{{1}{10}0}}0}
{1{{0}1}{0}0{10{0{{{0}}}1}1}}
{{01}00{0{00}}}
{1001{0}}
{{1{00}}00}
{10101}
{{{0{1}1}01}111{10}}
{{{01}0}0{1}}
{010{{111}01}}
{0{0{11{00}}}00}
{{0{101}}{1{100}00}01}
{{1}101}
{{{{0}11}10}1}
{{111}{0}{00{1{{{0}}1}}{01}}}
{0{10{{01}{0}}}}
{10{{00}}}
{01{{01{0{{1}}}}0}11}
{1{11}0{{1{0}}{{0}}0{{1}1}}1}
{{00{11}0}}
{110{{011}0}{0}}
{{{11}110}0{00{10}{0}}}
{{01}{0}{{{10}{{0}0}{1}}00}01}
{01{{{01}1{1{0}}}0{{{0}{{{0}}}}}}0}
{0{1{0{{1}}1}1}{{1}1{1{0}}1}}
{0{1{{{0}{{{0}}}}1}}{{10}{0}{00{1}}1}{10}{00{11}0}}
{{00{000}{{0{{{0}}}}}}00{{11}{{0}{{{{1}}}}}0}1}
{{00}10{0}}
{{{{0}}01{1}}100}
{0{1101}{1001}}
{1{00}000}
{10{{01}}{{01{11}}11}0}
{{1{{{1}}}{01}0}}
{{0}{0100}}
{{1101}10{1{{0}{0{{1}}}0}{00}1}{{11}0}}
{01{{{0{0}}1{0{1}}}{0{0{1}}0}10}}
{10010}
{{{{0{{{0}}}}}01}1}
{{{0{{0}{0}}0}0{1{{{1}}1}}0}0}
{{0{{0}00}1}}
{{10}0{{1}}}
{0{{11{0}}}1{10}{0{0}}}
{{10{1}}0}
{0{010}}
{01{{0{{1}}}}}
{{{{11}}1}{1{110}10}}
{{110}010}
{11010}
{11{0{0}}01}
{01{{1}0}}
{1{11}{0{01}0}11}
{{{0}{01}}01}
{{1{0{0}{1}}1}{0101}{{0{0}}}{111}{1}}
{0{0{1}}}
{1{1}01}
{{{10}{1{0}{{{1}}}}0}{001}10}
{{00{1}0}1}
{{001}{0}10}
{1011}
{10{0111}}
{{000}}
{10{1}}
{0{011{00{1{{{{{1}}}}}}}}0{{0{{0}{{0}}}0}01}}
{1{11}00}
{1{1{{0{{{{1}}}}}}}{000{001}}11}
{{1{{0{0}}0}}0{1}0{0}}
{{1}10{{11}1}0}
{{1{10}{{10}11}1}{00{{1{0}}}}1{0010}0}
{{01}{11{11}}10}
{{01{101}{1}}0}
{{100}{1{0{{0}}{1{{{{0}}}}}}{111}}0{0010}}
{0{{00}0}{{1{1}0}{{0{1}}{00}0}{111}0}}
{{{1}1}1}
{{{0}0{00{1{{0}}}}}{110}10}
{1{{{1{1}}}00{01{0}}}01}
{{0111}{{00}1}1}
{{1111}{0{1}}{0}0{1}}
{{011{1}}101}
{0{1{{{0}1}0}00}0}
{{{{{{{0}}}}10}{{1}}{{0{0}}}{01}}01}
{{01{{0{0}}{{0}}0}0}}
{{0{{{{{1}}}{1}}{0}}{1}}1}
{{0{1{{{1}}{{0}}}}11}}
{1{0101}1}
{{01}{1}0}
{{{01{1}}{0}0}00}
{1{{01}{1{{{{1}}}}0}0}1}
{11{11}{00}{000}}
{{{{0}}0{0{0}}}01{01}}
{{{10}01}00{00{1{1}}{100}}1}
{{{{00}0{{1}}}00{11{0}}}10{{0{1}1}}}
{0{{11}}0{0{111}10}}
{1{1010}}
{11{{100}{{0{1}}}}1}
{0{0}{0{01}0}}
{01{01}}
{1{1}0{{0{11}{1}}0}}
{{{{10}0}}}
{{{{{{0}}{1}}1{{{{1}}}1}}{01}{11}}1}
{{010}10}
{{00}10{{{00}10}}}
{00{0{10}}}
{{{1{{1}}}{{0{0}}{1{0}}}1{11{{{1}}0}}}{{10}0}01{00}}
{0{1}{101{{0}}}1}
{0011}
{{0}{{1{{{0}}0}}}11}
{{0}10}
{101{1}{1}}
{10000}
{00{{10}01}{0101}1}
{00{110}{111}}
{0{0{{11}1}}{{00{{1}0}}{11{1}}1{{{0}}}}0}
{{{00{0{1}}}1}}
{{{{1}00}}{00{{10}{{{{1}}}1}0}{{1}}}1{{0{{0}{{1}}}}0}1}
{1{01}01{101}}
{00{{{{0}}}1{{00}0}}1}
{0{{{{{1}}}}100}01}
{{1{100}10}011{1}}
{{{{11}{01}}1{011}{01{{{{1}}}1}}}{0{1{{1}1}}}{0{0{0}}}}
{0{000}}
{{000}{{{1}}1}{01}}
{{{{0}1}1}{{11}1{{{1}{1}}}1}0}
{1{0{{1}}}}
{{001}{010}}
{0{10}{{0}1{001}1}}
{10{0{100}}0}
{11{10}{1010}0}
{{1{1}11}001}
{111{000}0}
{{010{00}}0{01}}
{0{1110}{{0}0}}
{0{0{{01}00}1}}
{0{{100}{00}{1{1}0}}0}
{{{111}}00{00{{{{0}}}}1}{10}}
{{0{10{00}}{10}}{0}}
{0{{10}{{0}{1{0}}}}1{1{1{01}{0}}11}}
{00{0{00{{0}}}10}}
{0{1{11}}0{{101}110}}
{{00{11}}0}
{0{{1{{1}{{1}}}{00}}{{0}11}}0}
{{00{0{1}}}}
{0{11}}
{{101}}
{{{1}}{01}{{1}{0}}01}
{{1{1{1}}0}1100}
{1{{0{1}1}{{0}1}}}
{1111}
{0{1{0}1}000}
{{111{0}}1}
{{11{1{1}1}{0}}10}
{{{0{1{0}}}}0{0}0}
{{11}{{{{{0}}{0}}0}{0}{{0}}1}011}
{01{11}10}
{001{{01}{01{01}}{1}0}0}
{{1011}11{0}}
{{1{0}{10{{0}1}}}1000}
{{{10}}1}
{1{00{01}}{1{1{1}}}11}
{{111}0}
{{1}{{0{1}1}1}{{10}}}
{1{010}{0}{01}0}
{1{0}{0}11}
{10{1110}{1{0}0}1}
{1{{0}00}}
{01{{{1}}1}1}
{{{0{1}{1}}}}
{{{11}}{101{1{00}}}00}
{{{0{01}0}10{1{1}1}}0{{0}}}
{{001}{001}1}
{{1{000}00}{001{{00}0{1}}}}
{{0{{1}}0}}
{0{{1}}}
{{{11}{{{{{1}}}}}01}1}
{{{1{11}1}1}{{1}1{10}0}}
{{111}01}
{1{0}11}
{{{{1}{0}}}{0{{{{1}}}1}10}{{1{{1}{0}}}1}}
{{0{00}1}1}
{10{00}}
{{0{1}1{{0{1}}{00}1}}}
{0{1{{0}0{1}}}01{{{10}0}{{{0}{{{{{{1}}}}}}}}0}}
{{0{0}0}10{{01{1}}}{1{00}{{{{0}}0}{1{0}}}1}}
{1{{0}01{10}}{{{00}00}10{01{1}}}{0{{01}{1}0}0{{1}0}}}
{1{1}1{10}}
{1{01}10}
{{{01}101}{{1}0}001}
{0{{{1}11}00{11}}}

Sample output:

0
1
0
0
1
0
1
1
0
0
0
1
1
0
1
0
1
0
1
1
1
0
0
0
1
1
1
1
1
0
0
1
0
1
1
1
1
1
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
0
1
1
0
1
1
1
1
0
0
1
0
1
1
1
1
1
1
0
0
1
0
1
1
1
0
1
1
1
1
0
1
0
1
0
1
1
1
1
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}00}1}
{0{0{{0}}{110}1}{0}{1000}}
{{1}{0{{1}{00}}00}{{1{{{{{{{1}}}}}}}}0}}
{{101}{100{{1}00}}1{0}0}
{{01}}
{{1100}1{0}10}
{00{1{1}}{0}}
{{10{01}0}}
{{11}0}
{11011}
{111}
{{00}{1{010}1}{10}}
{1{01}000}
{{11}0{{1{10}}{1{0}}{{1}0}0}1}
{11111}
{001{0}{0}}
{001}
{{{{{1}}}{00}{{{1}{{{0}}}}}}{{{{1}1}}101}0{1{00}{0{1{{{0}}}}{0}}1}{000}}
{110}
{1001}
{0101{111}}
{1{1}}
{{100}}
{{{{01}11}{101}}{1}110}
{{1}00}
{0000}
{{1}1}
{0{001{01{00}}}101}
{{{1}}10{01{{01}11}}1}
{0011}
{0001}
{0{{{0{1}}}{11}}1{0{{11}}{11}}{00}}
{0{{00{1{0}}}100}11}
{{1}01}
{{01}{{{1}00}11}}
{{1100}101{111{00}}}
{{1{{01}1}}{0}0}
{{1{{1}{1}{0}}}0{1}{{{0}00}}1}
{{011}{01{{0{1}}10}{{00}1}}1{{00}{10{{1}}}11}1}
{1100{{01}11{{{{{1}}}}0}}}
{0{01{{1}1}{{1{0}}}}}
{01}
{{0}1}
{0{00{{{0}}}0}0}
{{0{0}1{{1}11}}{0}1{10}{{10}}}
{10{1{{00}}00}1{{{0{1}}1}{{1}{10}1}1}}
{01{{11}01}}
{1{01{{{{1}}}0}{01}}0{0{10}0{{0{0}}{{1}}0}}0}
{{10}0{0{1{{1}1}{{1}1}}}10}
{00{0}1{0{000}{11}{{{{1}}0}0}}}
{0{{10{{0}0}}1{01{10}}0}{0000}{{{{{0}}1}0{10}}{{0}}}1}
{0{0}{1{111}0}{{10}1{{0}10}}}
{{1}{00}}
{001{1{{10}{{{0}}{1}}}01}}
{0{{100}}0}
{{10{{{1}0}}}11}
{{110}{1}}
{110{11{0{{{{{1}}}}}}}}
{{001}1101}
{{111}111{0{011}1}}
{1110}
{{0{{00}1}}{1}{{00{0}}{1}}1{{{1}}}}
{1{0{{1{1}}10}{{0}00}{{0{0}}}}}
{{00{1{1}{{{1}}}}}{{0{1}}111}10{0}}
{1{{0}{0}00}}
{011}
{{0{{{1}}}{{00}}1}1}
{{{0}001}}
{111{01}}
{{{10}}{0{1}}{110}1}
{0{10}}
{{100}00{11}{0{{0}1}0}}
{0{1{1{{0}{1}}{1}}}{10{{0}1}}11}
{{0{00}}}
{{1{{00}}0}{{1}{001}0}{{0{11}1}1}{10}{0{110}{1}}}
{1{00}01{0}}
{{10}0{00}{00}}
{11}
{10{{1}11}0{1{01}0{1{11}}}}
{{0}{0}{{{{1}{{0}}}0{0{{1}}}}}{11}}
{1101{0}}
{{0011}{010{{10}{11}0}}00{0}}
{00}
{{{{{{0}}}}{0}{{0}{1}0}}}
{00011}
{{010{{00}{1}0}}}
{0{{0{1{{0}}}}01{{{0}}01}}10}
{10{1{{0{0}}01}}1}
{110{0}0}
{0010}
{{1}10}
{{{{11}}{10}{0}{1}}}
{{101}0}
{1{0{00}0}00}
{110{1}0}
{{11}11}
{1{10}}
{10{000}}
{01{{{1}1{0{0}}}111}{1{01}}0}
{{{01}{01}{10{1}}1}{1}01}
{{11{00}0}1}
{01{1}}
{0{{0}}0}
{111{{{10}{0}1}0{1}}0}
{0{001}0}
{00010}
{{{110}}{00{01}{0}}}
{01{01}}
{{0{{1{1}}0}1}}
{1{0{1}{1{1}}}011}
{{{{{1}{{1}}}}0}{111}10}
{010{1}}
{{{00}0{11}{{0}}}01{0}}
{110{0{0}{{{1}0}}}}
{{1{{01}0}{10}{011}}{0}{10{{1}{11}}1}{10{1{{0}1}1}{100}}1}
{1101{1}}
{{010}10}
{1011{0}}
{0{0{1{00}}0{1}}000}
{{010}1{{0{{{0}}{0}}}{{11}{{0}0}{0{0}}}}01}
{{1{011}{10}}}
{0{1{{0}11}}0{1{0}1}}
{11000}
{0{{0}01}}
{00{11{0}0}1}
{{0}1{010}}
{0{1}1}
{{01{{00}}}}
{101}
{{{10{10}}101}1}
{0110}
{{{00{{{0}}0}}}}
{11{0{1{1}}1}{1}{0{{1}}1{{{{0}}}{1}0}}}
{{10}}
{0{100}0}
{1{0}11}
{{10{10}0}{{{{1}{{1}}}{{0}}}11}{01}01}
{{1}{{1}{0}1{0}}{0}}
{{10}0{{0}}10}
{{111}01}
{00{{11}}}
{001{0011}0}
{10{1{1}}{1001}}
{1{01}}
{{11}}
{1{{0}}0}
{0{10}0}
{{101}{111}11}
{{{00{{1}0}}}1{11}0}
{{0010}{{100}0}1{1{1{{0}}}}0}
{1{0{0}1{10}}}
{0{{11}}1{0{010}{00}0}}
{{{00}}}
{{010}1010}
{11{0{{00}{10}}0}}
{1{001}}
{01101}
{10{{{1{0}}0}1}}
{{{1}{{1}0}0}0{1{{1}}11}}
{{11{{{1}}0}}01{{{1}1}{1}{101}}}
{{111}110}
{1{0{{01}0{0{{1}}}}}}
{{{1}{1{1{1}}}1}0{1{{{{{0}}}}1}11}}
{00{1}{11{0}1}}
{1111{{{00}0}{0{1{{{1}}}}1}}}
{0{{1}}1}
{11{100{1}}{00}}
{101{1}}
{1{100}0{{0}{{0}0{1}}}}
{110{{0}1{10}}1}
{{{{1}}0}1{{1{00}0}1}00}
{1101}
{0{11}00}
{{{{0}}}01}
{{1110}{0000}1{1111}0}
{00{0}0}
{0{1}}
{110{00}1}
{1{11{10}1}{0}11}
{0{{{01}11}{1}}{{1{{0}1}1}}10}
{1{{011}}0{00}{110{{{{1}}}}}}
{{0100}}
{00{11}}
{0{1{0{{{{{1}}}}0}{1}}1}0{01}1}
{{0{110}0}000}
{00110}
{010}
{{10{{10}{0}1}}{{{1{0}}{0}}}0}
{1{0{{01}}1{00}}}
{{01}{{{00}1}}00{{{{1}0}{10}}11}}
{01{{{{1}}1}1}{{{11}{{1}}}{0}}1}
{01{1{1{{1}1}{11}}}}
{0{{{{{1}}}}0{{11}10}}}
{010{0{001}0}1}
{1{{{{0}{0}}{0}}{{{0}}}}010}
{{010}1}
{00100}
{{{{{0}1}}}{1}0{{0}}}
{00{01{1}0}1}
{{{01}01{{01}}}1{11{00}{01}}}
{1{101}1}
{{0}1{00}{01{1}1}}
{00{1}1}
{{000}110}
{{111}}
{11{{01}{0{0}{1}}0}{1{010}1}}
{0{111}01}
{0{0{1{{1}}{00}}}1{1{{{1}}1}{010}}{00}}
{{{1}1}}
{01{{{{1}1}{0}{1}}01}}
{{1{{10}1}{{0}}{0}}}
{{01{111}1}}
{0{11}{{101}0}{0}0}
{1{0{{0}{{0}}0}{{{{{0}}}{{1}}}11}}1}
{1{10}000}
{{00}01{001}1}
{{1100}0{10{1{0}}{0}}}
{0{0{{10}}{1}}}
{0{01}1}
{0{{100}0}110}
{01{0001}1}
{{011}}
{1{110}{{111}11}{{10}}{1}}
{01{{{{{0}}{0}}}100}01}
{{1{{0{{1}}}00}}01{0{011}}}
{11{0{{{{1}}1}0}0}{1{0}0}}
{{{10{{{1}}}}{110}0}0}
{0{111{{{1}}01}}{11}}
{1{{0{{{0}}{1}}}}}
{{{1}1{11}1}111}
{11{111}}
{100{{{{{0}}}}}1}
{{{0}}{0}}
{1111}
{0{{{11}0}}}
{{{0}10}}
{{{10{1}}110}{{0}{011}1}}
{1{0{{{{1}}}{1}}{1}}100}
{0{0{101}}10{{0}0{{1}{0{{0}}}0}}}
{1{000}01}
{1{{01}{1}{00}0}{1}0}
{1{0{1}0}111}
{{{{00}}1{1{{{0}}1}0}}}
{{{1}00{110}}10}
{0{{00{{1}}}10}{{1}{0}}}
{{0}{1{{1{{{1}}}}0}}00}
{1{{0{0}}010}{{011}{{{{0}}{0}}0{0{0}}}}}
{1{{000}{{{0}}0}1}}
{{10}0}
{{{01{0}}{1}{0}{{11}0}}00{11{10}}}
{{{1}0}0{0{{01}00}{1}0}1{{{{{{0}}}}1{{{{1}}}}}}}
{{1{{0}0}0{{{{1}}}}}0{10{111}}}
{{{{0}}{0}1}}
{10{0000}}
{0101}
{00{00}0}
{0{{{00}10}0}}
{00000}
{000{10{{1{{1}}}10}}1}
{{1{{{1}{1}}1}10}}
{{{1}{1{{0}1}}0}}
{{11{1}}0{010}}
{{{1{0{1}}}}10}
{{11}11{00}}
{{{01{{1}}}}{{10}0{010}}}
{11{0101}}
{{{{1}{0}1}0{101}}10{1111}}
{0111}
{10110}
{0{{11{{1}}}1}}
{{0{1}}}
{01{01{{0}}{0}}0}
{1000}
{{100}11}
{0{{{1}1}{1{{1}}}{11}{1}}{0000}11}
{0{0{101}}{1101}0}
{10{{0{0}{11}}}{1{{0}{10}}1}0}
{0{1{1}{10{{1}}}{{{0}}10}}1{10}}
{0{0}10}
{11{1000}0}
{0{011{00}}{1110}{10{{11}00}}0}
{{0{{{1}{0}}1{1}}}0}
{10000}
{00{100}}
{{{{1{{1}}}}{01}0{1{{{{{0}}}}1}0}}}
{{{01}010}}
{00{1{101}}}
{{1{{01}}0{{{0}}{1}}}}
{{1}1{111}}
{{1{1{0}1}{1{1}{0}}}0010}
{1{1{1}1}011}
{0{00{00}}}
{{011}1}
{{{11}{{{1}}00}{0}{0}}{{10}101}{0{01}0}}
{0{1010}{0}01}
{{1}0}
{{0{0}}0{0{{1}0}1{1{0}{{0}0}}}10}
{{1}11{1}1}
{{11{101}1}101}
{{{001}}{110}11}
{{00{11}1}1}
{0{{11}}100}
{11{101{010}}0}
{0{{11}0}}
{{000}001}
{{00}{11}0}
{{1{{01}1{0}}10}1}
{0010{1{{{0}}{{0}{0}}{0}}1{{{0}}}}}
{{1{{0{1}}01}}{0}1}
{110{{11}1}}
{{{00}}1}
{11100}
{{{{1}}}1}
{0{{0}}01}
{{010}}
{010{1101}{1001}}
{{{0{{{1}}0}0}}1}
{1{0}0{{{10}}0}}
{00{{{01}10}}10}
{{{11}1{1}0}{{1{{1}}}0{1}1}}
{0{010}0}
{{{{1{1}}00}}}
{11{0011}}
{{0{1}0{1}}}
{{1{{{1}}11}{11}}0}
{{{111}}01}
{1{011{000}}00}
{{{1}}{000{{1}}}}
{10{0}{0}{0}}
{{000}100}
{{010{{10}}}001}
{1{{1{01}{00}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0
0
1
0
0
0
1
1
1
1
1
1
0
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
0
1
1
1
0
1
1
1
0
1
1
1
1
1
1
1
0
0
1
1
0
1
1
0
1
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
0
1
0
1
0
1
0
0
1
1
0
1
1
0
1
0
1
0
0
1
0
1
1
1
1
0
1
1
0
0
1
0
1
1
1
1
1
0
0
1
1
1
0
1
0
0
1
1
1
1
1
1
0
0
1
1
0
1
1
1
1
1
0
1
1
1
0
0
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat500.08132017/03/19 05:21:310B / 19B / 29B
2xsot510.07242017/03/21 10:51:470B / 22B / 27B
3mitchs520.06152017/03/18 01:32:430B / 21B / 29B
4rotary-o530.05742017/03/19 00:15:210B / 23B / 28B

Ruby2 _

RankUserSizeTimeDateStatistics
1Histocrat500.23032017/03/19 05:22:010B / 19B / 29B
2xsot510.20942017/03/17 19:23:460B / 23B / 26B
3rotary-o520.25602017/03/18 23:41:340B / 23B / 27B

Perl _

RankUserSizeTimeDateStatistics
1%20420.06132017/03/17 13:09:440B / 19B / 20B
2tails420.05922017/03/22 18:00:320B / 19B / 21B
3shlomif450.04572017/04/05 01:11:330B / 17B / 26B

Python _

RankUserSizeTimeDateStatistics
1xsot940.11392017/03/22 17:50:330B / 53B / 31B
2rolf1080.61192017/03/18 03:16:320B / 54B / 49B
3test1190.10712017/03/21 01:25:200B / 60B / 51B
4Sait20001230.86302017/03/31 07:49:050B / 76B / 42B
5hallvabo1260.27782017/03/20 05:01:300B / 74B / 47B
6tester1490.18552017/03/28 23:30:260B / 78B / 57B

Scheme _

RankUserSizeTimeDateStatistics
1kaki960.28412017/03/23 02:15:130B / 53B / 41B

JavaScript _

RankUserSizeTimeDateStatistics
1ETHproductions990.08122017/03/24 22:37:130B / 43B / 56B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik1070.05242017/03/18 20:53:010B / 67B / 34B

C _

RankUserSizeTimeDateStatistics
1tails770.05762017/03/23 11:50:450B / 45B / 32B
2xsot980.03752017/03/22 20:05:370B / 53B / 45B
3%201140.03752017/03/24 18:41:580B / 47B / 67B
4kotatsugame1280.03232017/03/24 14:20:560B / 62B / 66B

Haskell _

RankUserSizeTimeDateStatistics
1henkma910.05452017/03/28 20:06:590B / 46B / 43B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1500.26872017/03/30 12:33:540B / 91B / 55B
2teebee2020.53942017/03/20 08:58:470B / 121B / 75B
3rolf3840.46542017/03/19 01:58:260B / 274B / 93B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1530.15862017/03/30 12:36:470B / 100B / 48B
2test2500.38482017/03/22 06:47:280B / 168B / 73B
3rotary-o1510.12982017/08/05 22:43:050B / 96B / 50B

sed _

RankUserSizeTimeDateStatistics
1mitchs350.03822017/03/17 09:02:090B / 13B / 18B
2%20350.04582017/03/17 12:58:270B / 12B / 19B
3tails350.04722017/03/17 14:18:060B / 12B / 19B
4rolf350.04362017/03/18 23:09:230B / 12B / 19B
5Histocrat440.04432017/03/31 02:28:490B / 13B / 25B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails731.50612017/03/21 19:38:520B / 22B / 44B

wake _

RankUserSizeTimeDateStatistics
1tails600.91702017/03/21 19:13:380B / 12B / 45B

GolfScript _

RankUserSizeTimeDateStatistics
1tails350.74882017/03/23 18:15:390B / 8B / 26B

gs2 _

RankUserSizeTimeDateStatistics
1tails230.54922017/03/23 19:48:5911B / 8B / 3B

Vim _

RankUserSizeTimeDateStatistics
1udioica420.08272017/03/17 22:43:410B / 17B / 24B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o8511.04312017/03/30 13:53:290B / 49B / 36B
2Hendrik1278.05522017/03/29 05:51:280B / 78B / 44B

Language Ranking_

RankLangUserSizeScore
1gs2tails2310000
2sedmitchs356571
3GolfScripttails356571
4Perl%20425476
5Vimudioica425476
6RubyHistocrat504600
7Ruby2Histocrat504600
8waketails603833
9Bash (builtins)tails733150
10Ctails772987
11Scalarotary-o852705
12Haskellhenkma912527
13Pythonxsot942446
14Schemekaki962395
15JavaScriptETHproductions992323
16LuaHendrik1072149
17Javarotary-o1501533
18C#rotary-o1511523

return top