Pragraph counter
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Count paragraphs and print the result (I hope this is not a duplicate)
(and I hope this satisfies the grade grabbers' appetite :)
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
caddy - a testing/squeezing/submission helper tool for golfers
* setup
Add alias to your .bashrc or something:
alias caddy='ruby ~/src/gtester/caddy.rb'
Run caddy update:
% caddy update
This command downloads the problem information in golf.shinh.org. Please run this command again if another challenge is added in golf.shinh.org. Note that you will be asked your name for submission if this is the first run.
Sample output:
7
Sample input:_
This ranking is not fair (especially for new comers). Please don't consider this so seriously, the intention of this ranking is to show how eager you are golfing :)
Sample output:
1
Sample input:_
Anarchy Golf
This is a golf server. You can enjoy short coding here in several languages (94 languages). The purpose of this server is not serious competition. Joke problems are welcomed and you can speak freely about problems and can release spoilers. For serious competition with ranking, enter Code Golf.
IRC channel for this golf server: #anagol in freenode. Please feel free to join the channel to talk about various things around golf.
Mark Byers kindly prepared a site for this golf server. If you would like to join to add tips, please ask Mark to add you as a collaborator (supposedly, in IRC?).
User ranking
The score is the sum of 10000 * <size of best solution> / <size of your solution> for each problems. Only submissions before the deadline are considered if the problem has the deadline. Parentheses after your name will be removed before the aggregation. If you submitted multiple solutions into a problem, the better one will be calculated. (E.g., suppose you submitted as "shinh (cheat)" and "shinh" and earned 10000 and 8000, respectively. Then, your total score will be added by 10000)
set PID
You can set the PID by this interface. Note that some PIDs will be consumed by golf system after you set a PID. The number of PIDs the system consumes depends on the language you are using. For example, if you set PID=3000 and then you submit a ruby code, your program's PID would be 3004 in the first run.
Sample output:
8
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 13 | 0.0497 | 2012/11/04 10:31:18 | 0B / 2B / 10B |
2 | eban | 16 | 0.0332 | 2012/11/02 16:35:04 | 0B / 7B / 8B |
3 | jamesaxl | 14 | 0.0481 | 2012/11/13 05:55:43 | 1B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee(nocheat) | 16 | 0.0448 | 2012/11/03 03:11:20 | 0B / 6B / 10B |
2 | clock | 16 | 0.0460 | 2012/11/04 09:06:58 | 0B / 6B / 10B |
3 | macik | 17 | 0.0336 | 2012/11/04 05:49:55 | 0B / ?B / ?B |
4 | ninjalj | 18 | 0.0377 | 2012/11/03 00:24:36 | 0B / 10B / 7B |
5 | BioFALSE | 23 | 0.0324 | 2012/11/28 05:45:09 | 0B / 10B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | ttmh | 50 | 0.0627 | 2014/08/29 16:12:19 | 0B / 24B / 24B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 23 | 2.8346 | 2012/11/03 13:24:52 | 0B / 18B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 45 | 0.2801 | 2012/11/03 21:46:53 | 0B / 37B / 5B |
2 | clock | 45 | 0.2149 | 2012/11/04 09:04:16 | 0B / 37B / 5B |
3 | pooq | 50 | 0.2760 | 2012/11/03 21:41:45 | 0B / 41B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 17 | 0.1062 | 2012/11/02 10:12:19 | 0B / 7B / 10B |
2 | I., S. | 20 | 0.0711 | 2012/11/05 06:51:18 | 0B / 14B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | henkma | 41 | 0.0335 | 2012/11/04 03:01:58 | 0B / 26B / 15B |
2 | Hendrik | 43 | 0.0479 | 2012/11/03 19:58:20 | 0B / 33B / 10B |
3 | tttaki | 44 | 0.0499 | 2012/11/03 19:21:47 | 0B / 33B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 16 | 0.0316 | 2012/11/03 15:43:06 | 0B / 11B / 5B |
2 | clock | 16 | 0.0376 | 2012/11/03 15:55:57 | 0B / 11B / 5B |
3 | Hendrik | 16 | 0.0314 | 2012/11/03 18:36:16 | 0B / 11B / 5B |
4 | nn | 16 | 0.0363 | 2012/11/05 01:00:33 | 0B / 11B / 5B |
5 | eban | 17 | 0.0314 | 2012/11/02 16:37:40 | 0B / 12B / 5B |
6 | ninjalj | 22 | 0.0383 | 2012/11/03 00:15:16 | 0B / 10B / 12B |
7 | Fleur | 20 | 0.0413 | 2021/12/16 09:53:12 | 0B / 12B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 13 | 0.0316 | 2019/08/05 01:33:05 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 12 | 0.0356 | 2012/11/03 03:15:28 | 0B / 8B / 2B |
2 | clock | 12 | 0.0759 | 2012/11/03 14:05:19 | 0B / 8B / 2B |
3 | tttaki | 14 | 0.0243 | 2012/11/03 09:45:30 | 0B / 7B / 4B |
4 | ninjalj | 19 | 0.0187 | 2012/11/03 00:19:12 | 0B / 9B / 8B |
5 | eban | 25 | 0.0221 | 2012/11/02 16:21:23 | 0B / 16B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 12 | 0.0526 | 2012/11/03 03:16:08 | 0B / 8B / 2B |
2 | clock | 12 | 0.0412 | 2012/11/03 14:08:08 | 0B / 8B / 2B |
3 | ninjalj | 19 | 0.0253 | 2012/11/03 00:19:21 | 0B / 9B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 12 | 0.0705 | 2012/11/03 03:16:15 | 0B / 8B / 2B |
2 | clock | 12 | 0.1230 | 2012/11/03 14:09:08 | 0B / 8B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 16 | 0.0336 | 2012/11/03 15:43:23 | 0B / 11B / 5B |
2 | clock | 16 | 0.0320 | 2012/11/03 15:56:14 | 0B / 11B / 5B |
3 | Hendrik | 16 | 0.0322 | 2012/11/03 18:36:55 | 0B / 11B / 5B |
4 | ninjalj | 22 | 0.0412 | 2012/11/03 00:15:34 | 0B / 10B / 12B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 3 | 0.0704 | 2012/11/02 10:24:01 | 0B / 1B / 2B |
2 | teebee | 3 | 0.0645 | 2012/11/02 10:38:47 | 0B / 1B / 2B |
3 | macik | 3 | 0.0789 | 2012/11/03 19:49:52 | 0B / ?B / ?B |
4 | kaki | 3 | 0.0753 | 2012/11/04 00:56:25 | 0B / 1B / 2B |
5 | nooodl | 3 | 0.0950 | 2012/11/08 00:05:44 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 4 | 0.0962 | 2012/11/02 10:44:43 | 0B / 1B / 3B |
2 | clock | 4 | 0.1252 | 2012/11/03 14:03:07 | 0B / 1B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 8 | 0.0420 | 2012/11/02 10:21:26 | 0B / 1B / 5B |
2 | teebee | 8 | 0.0439 | 2012/11/02 10:34:26 | 0B / 1B / 5B |
3 | Hendrik | 9 | 0.0548 | 2012/11/02 09:51:22 | 0B / 4B / 5B |
4 | mroman | 7 | 0.0343 | 2013/09/07 19:01:40 | 0B / 6B / 1B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 15 | 0.0668 | 2012/11/03 08:03:35 | 1B / 9B / 3B |
2 | nn | 16 | 0.0636 | 2012/11/04 15:48:34 | 1B / 10B / 4B |
3 | teebee | 17 | 0.0903 | 2012/11/03 04:50:13 | 0B / 11B / 3B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | GolfScript | clock | 3 | 10000 |
2 | Nibbles | tails | 3 | 10000 |
3 | FlogScript | teebee | 4 | 7500 |
4 | Burlesque | mroman | 7 | 4285 |
5 | Bash | teebee | 12 | 2500 |
6 | Zsh | teebee | 12 | 2500 |
7 | Fish | teebee | 12 | 2500 |
8 | Python | hallvabo | 13 | 2307 |
9 | Ruby | clock | 13 | 2307 |
10 | jq | pooq | 13 | 2307 |
11 | Vim | clock | 15 | 2000 |
12 | Perl | teebee(nocheat) | 16 | 1875 |
13 | AWK | teebee | 16 | 1875 |
14 | xgawk | teebee | 16 | 1875 |
15 | J | Hendrik | 17 | 1764 |
16 | Arc | pooq | 23 | 1304 |
17 | Haskell | henkma | 41 | 731 |
18 | Io | teebee | 45 | 666 |
19 | Common LISP | ttmh | 50 | 600 |
20 | C | smkt (less robust) | 61 | 491 |
21 | Brainfuck | koropicot | 66 | 454 |
22 | C# | teebee | 77 | 389 |
return to the top page