Koch Snowflake
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Check out here: http://en.wikipedia.org/wiki/Koch_snowflake
Implement Koch snowflake for a given number of iteration -- Deb
Options
exec is denied
no deadline, the server will not save your submission
Sample input:_
2
Sample output:
__/\__
\ /
/_ _\
\/
Sample input:_
3
Sample output:
__/\__
\ /
__/\__/ \__/\__
\ /
/_ _\
\ /
__/ \__
\ /
/_ __ __ _\
\/ \ / \/
/_ _\
\/
Sample input:_
4
Sample output:
__/\__
\ /
__/\__/ \__/\__
\ /
/_ _\
\ /
__/\__ __/ \__ __/\__
\ / \ / \ /
__/\__/ \__/\__/ \__/\__/ \__/\__
\ /
/_ _\
\ /
__/ \__
\ /
/_ __ __ _\
\/ \ / \/
/_ _\
\ /
__/ \__
\ /
__/\__/ \__/\__
\ /
/_ _\
\ /
__/ \__
\ /
/_ __ __ __ __ __ __ _\
\/ \ / \/ \ / \/ \ / \/
/_ _\ /_ _\ /_ _\
\/ \ / \/
__/ \__
\ /
/_ __ __ _\
\/ \ / \/
/_ _\
\/
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | @tttttanaka | 2222 | 0.0777 | 2012/04/01 01:49:33 | 0B / 1B / 325B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | line ending is inconsistent between 2nd and 3rd testcases | 2237 | 0.0147 | 2011/03/30 02:53:28 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | twobit | 311 | 0.1063 | 2011/04/29 21:41:04 | 0B / 129B / 163B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | I., S. | 234 | 0.2270 | 2012/05/29 06:40:15 | 0B / 102B / 108B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | koi | 351 | 0.0305 | 2011/05/22 21:25:35 | 0B / 161B / 188B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | McBusLuck | 2213 | 0.0352 | 2020/08/06 01:32:05 | 0B / 16B / 325B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nooodl | 957 | 0.1603 | 2011/04/19 23:44:59 | 49B / ?B / ?B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | J | I., S. | 234 | 10000 |
2 | Python | twobit | 311 | 7524 |
3 | C | koi | 351 | 6666 |
4 | GolfScript | nooodl | 957 | 2445 |
5 | bc | McBusLuck | 2213 | 1057 |
6 | Ruby | @tttttanaka | 2222 | 1053 |
7 | Perl | line ending is inconsistent between 2nd and 3rd testcases | 2237 | 1046 |
return to the top page