fish simulation
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
STEP 1) each big fish eats smaller fishes to the right and stop if no small fishes available on the right,
STEP 2) leftmost big fish eats all big fishes to the right
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
~~~[0]B@~~~~4:}~~7:}~~~~0:}~~~~
Sample output:
~~~~~~~...~~...~~~~...[11]B@~~~~
Sample input:_
~~[0]B@~~22:)~~~~[0]B@~~~5:}~~~
Sample output:
~~~~....~~~~~~~...,,,,,[27]B@~~~
Sample input:_
~~~[0]B@~~~[0]B@~~~~1:}~~11:)~~[0]B@~~9:}~~0:>~~~~33:)~~~
Sample output:
~~~~~~~~~~...~~....,,,,,,~~~~...~~...~~~~....,,,,,,[54]B@~~~
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | jpl | 124 | 0.0467 | 2013/02/07 00:18:22 | 0B / ?B / ?B |
2 | brx(jpl+clock) | 116 | 0.0431 | 2013/02/14 01:09:05 | 0B / 32B / 81B |
3 | clock(jpl) | 118 | 0.0481 | 2013/02/14 00:57:13 | 0B / 32B / 83B |
4 | brx(jpl) | 122 | 0.0393 | 2013/02/14 01:06:39 | 0B / 34B / 86B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | brx | 108 | 0.0345 | 2013/02/13 06:51:37 | 0B / 26B / 79B |
2 | BioFALSE | 171 | 0.0344 | 2013/01/31 03:42:01 | 3B / 55B / 110B |
3 | BioFALSE (author) | 177 | 0.0382 | 2013/01/31 03:35:16 | 3B / 54B / 117B |
4 | brx(jpl) | 106 | 0.0374 | 2013/02/14 00:53:50 | 0B / 26B / 77B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | rolf | 224 | 0.1171 | 2013/02/06 05:13:44 | 0B / 98B / 119B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 162 | 0.2145 | 2013/02/12 12:37:33 | 0B / 32B / 129B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 62 | 0.0609 | 2013/02/12 22:37:33 | 5B / 36B / 20B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Vim | clock | 62 | 10000 |
2 | Perl | brx(jpl) | 106 | 5849 |
3 | Ruby | brx(jpl+clock) | 116 | 5344 |
4 | Io | pooq | 162 | 3827 |
5 | Python | rolf | 224 | 2767 |
return to the top page