SumCount

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

x+y+z=n (x,y,z,n is natural number)
how many cases it happen???

------------------------------
Input condition

only input n

10<=n<=5000
-------------------------------

------------------------------
output condition

how many cases did it happen?
------------------------------

ex) if n=3
1+1+1=3 only one thing

if n=4
1+1+2=4
2+1+1=4
1+2+1=4

three cases are possible

Options

exec is denied

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

Sample input:_

24

Sample output:

253

Sample input:_

768

Sample output:

293761

Sample input:_

3371

Sample output:

5676765

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid220.05302010/12/02 05:29:350B / 13B / 8B
2teebee220.03812010/12/02 07:18:530B / 13B / 9B
3aglias220.07012010/12/02 10:32:260B / 13B / 8B
4eban220.06292010/12/02 11:28:020B / 13B / 8B
5usa220.05652010/12/02 11:29:390B / 10B / 12B
6yvl230.04482010/12/11 15:27:170B / 13B / 9B

Perl _

RankUserSizeTimeDateStatistics
1tails200.03142010/12/03 15:40:200B / 9B / 11B
2teebee200.04702010/12/09 17:55:060B / ?B / ?B
3leonid200.03552010/12/11 15:39:090B / 9B / 11B
4tybalt89200.00222010/12/15 08:00:210B / ?B / ?B
5eban210.02072010/12/03 16:02:170B / 10B / 11B
6Terje K210.01202010/12/03 16:34:470B / ?B / ?B
7Fuu210.04612010/12/04 11:29:050B / ?B / ?B
8dcutter220.04892010/12/10 03:03:210B / 10B / 12B
9MG240.01582010/12/03 03:46:540B / 11B / 13B

Python _

RankUserSizeTimeDateStatistics
1teebee230.09022010/12/08 21:15:470B / 14B / 9B
2leonid230.07302010/12/11 15:28:580B / 14B / 9B
3hallvabo230.07662010/12/11 15:56:110B / 14B / 9B
4recursive240.19442010/12/02 00:48:280B / 15B / 9B
5crazy_yellow240.09702010/12/03 02:29:580B / 15B / 9B
6pv2b240.06842010/12/15 08:59:260B / ?B / ?B
7ch3ka460.07522010/12/11 05:02:090B / 35B / 11B

PHP _

RankUserSizeTimeDateStatistics
1o-cn320.09572010/12/13 18:27:480B / 14B / 18B
2teebee300.09632011/10/23 10:06:450B / 14B / 16B

Scheme _

RankUserSizeTimeDateStatistics
1kaki370.07052010/12/23 15:28:520B / 15B / 21B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima360.15812010/12/02 08:35:220B / 18B / 17B
2pooq360.14682010/12/02 10:46:180B / 18B / 17B
3youz360.15932010/12/09 21:29:520B / 18B / 17B

Arc _

RankUserSizeTimeDateStatistics
1youz296.65852010/12/09 21:25:580B / 8B / 18B
2pooq316.53462010/12/02 08:32:320B / 11B / 16B

Clojure _

RankUserSizeTimeDateStatistics
1youz305.36532010/12/09 21:26:510B / 10B / 19B

Io _

RankUserSizeTimeDateStatistics
1pooq580.49032011/01/27 18:56:190B / 43B / 12B

JavaScript _

RankUserSizeTimeDateStatistics
1nn290.02972010/12/01 22:45:060B / 17B / 11B
2teebee290.04082010/12/02 07:41:290B / 18B / 11B
3aglias290.03562010/12/02 10:40:250B / 18B / 11B
4js290.04092010/12/06 18:30:440B / 17B / 12B
5_410.14362010/12/06 13:44:460B / 24B / 17B

Lua _

RankUserSizeTimeDateStatistics
1teebee290.03512010/12/02 08:50:390B / 17B / 12B
2pooq290.04642010/12/02 12:34:400B / 17B / 12B

Tcl _

RankUserSizeTimeDateStatistics
1teebee380.06122010/12/02 08:38:180B / 23B / 11B
2pooq380.05232010/12/02 10:15:250B / 22B / 12B

Xtal _

RankUserSizeTimeDateStatistics
1pooq370.08692010/12/01 23:40:160B / 20B / 16B
2teebee350.08702011/12/30 23:55:130B / 19B / 15B

Kite _

RankUserSizeTimeDateStatistics
1pooq530.05102011/10/24 12:35:000B / 34B / 19B

Icon _

RankUserSizeTimeDateStatistics
1teebee440.05132012/04/06 18:19:220B / 29B / 12B
2pooq490.08662012/04/06 13:12:440B / 30B / 16B

REXX _

RankUserSizeTimeDateStatistics
1pooq210.03362012/04/13 10:39:550B / 13B / 6B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee250.06872012/04/01 21:49:570B / 15B / 10B

Cyan _

RankUserSizeTimeDateStatistics
1teebee(pooq)291.52202012/06/14 06:38:330B / 15B / 13B
2pooq312.97822010/12/27 21:17:170B / 16B / 14B

Prolog _

RankUserSizeTimeDateStatistics
1pooq500.28592010/12/11 06:15:310B / 27B / 23B
2pooq380.14412012/03/05 10:36:540B / 20B / 18B

BASIC _

RankUserSizeTimeDateStatistics
1teebee210.02432010/12/02 08:11:050B / 11B / 10B
2pooq210.08102010/12/11 06:12:360B / 11B / 10B

J _

RankUserSizeTimeDateStatistics
1pooq150.14412010/12/01 19:30:320B / 6B / 8B
2I., S.150.19182010/12/02 01:48:240B / 7B / 7B

K _

RankUserSizeTimeDateStatistics
1pooq210.05342012/03/19 23:51:320B / 7B / 14B

C _

RankUserSizeTimeDateStatistics
1inaniwa(embed)430.03472010/12/02 10:28:342B / 28B / 13B
2leonid (embed)430.03552010/12/03 02:12:352B / 27B / 14B
3teebee(embed)430.03402010/12/03 05:58:592B / 28B / 13B
4nn470.03182010/12/01 22:46:490B / 22B / 25B
5teebee470.03212010/12/02 01:38:370B / 22B / 25B
6leonid470.03232010/12/02 05:56:110B / 22B / 25B
7inaniwa470.03942010/12/02 07:40:420B / 22B / 25B
8aglias470.03682010/12/02 10:28:380B / 22B / 25B
9not470.04292010/12/07 19:01:030B / 22B / 25B
10csanders490.03342010/12/02 05:03:120B / 23B / 26B
11kou490.03492010/12/13 17:12:390B / 23B / 26B
12taraki980.05822010/12/01 19:10:120B / 48B / 50B
13_530.00182010/12/17 20:38:060B / ?B / ?B

C++ _

RankUserSizeTimeDateStatistics
1test850.04412010/12/14 00:13:361B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai400.11862010/12/03 21:13:490B / 24B / 15B
2ksk400.11612010/12/04 20:25:300B / 26B / 13B

Haskell _

RankUserSizeTimeDateStatistics
1henkma350.03732010/12/01 23:36:060B / 24B / 10B
2koyama41350.03542010/12/02 12:03:410B / 24B / 10B
3notogawa350.04362010/12/03 23:24:410B / 24B / 10B
4dekosuke430.03592010/12/09 21:05:120B / 26B / 15B

Java _

RankUserSizeTimeDateStatistics
1hallvabo840.40702010/12/02 03:36:210B / 56B / 26B
2teebee840.39012010/12/02 06:12:000B / 55B / 28B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*500.03042010/12/05 01:52:430B / 34B / 13B
2uru500.06192010/12/07 19:35:590B / 34B / 13B
3teebee500.03892010/12/13 00:39:430B / 34B / 14B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*350.03322010/12/01 20:48:570B / 20B / 15B
2teebee350.03842010/12/13 00:31:180B / 20B / 15B

Maxima _

RankUserSizeTimeDateStatistics
1pooq290.39572010/12/01 20:19:580B / 14B / 15B
2teebee290.40932010/12/02 09:11:450B / 15B / 14B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa330.67832011/10/22 11:50:410B / 19B / 14B
2pooq350.88412011/10/22 11:25:000B / 19B / 16B

REBOL _

RankUserSizeTimeDateStatistics
1pooq410.12142010/12/02 11:13:260B / 22B / 11B
2teebee(pooq)400.06432012/07/19 05:47:530B / 21B / 13B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee290.38992011/12/16 07:37:210B / 17B / 11B

AWK _

RankUserSizeTimeDateStatistics
1teebee140.02862010/12/02 03:59:130B / 4B / 10B
2usa140.01472010/12/02 11:42:570B / 4B / 10B
3eban140.00552010/12/02 11:48:510B / 4B / 10B

sed _

RankUserSizeTimeDateStatistics
1eban270.00722010/12/02 16:21:510B / 21B / 4B
2teebee270.00782010/12/02 17:15:460B / 21B / 4B

jq _

RankUserSizeTimeDateStatistics
1eban200.04452014/12/15 11:27:360B / 11B / 9B

Bash _

RankUserSizeTimeDateStatistics
1narb150.04372010/12/01 20:35:380B / ?B / ?B
2teebee150.04432010/12/01 23:50:470B / 8B / 6B
3eban240.01072010/12/02 14:48:250B / 12B / 9B

Zsh _

RankUserSizeTimeDateStatistics
1narb170.07272010/12/01 20:36:100B / ?B / ?B
2teebee170.06822010/12/01 23:51:380B / 8B / 8B

Fish _

RankUserSizeTimeDateStatistics
1narb170.50482010/12/01 20:36:160B / ?B / ?B
2teebee170.15522010/12/01 23:52:480B / 8B / 8B

wake _

RankUserSizeTimeDateStatistics
1teebee380.05832010/12/02 06:21:240B / 18B / 17B
2eban380.04872010/12/03 15:02:200B / 19B / 16B
3idealmachine390.04472010/12/01 21:19:300B / ?B / ?B

bc _

RankUserSizeTimeDateStatistics
1pooq260.03922010/12/03 01:24:440B / 13B / 12B
2teebee260.03482010/12/03 04:17:380B / 14B / 10B
3eban260.00812010/12/03 11:14:300B / 14B / 10B
4teebee240.05082011/11/07 07:01:540B / 13B / 10B

dc _

RankUserSizeTimeDateStatistics
1narb100.03182010/12/01 20:34:520B / ?B / ?B
2teebee100.03222010/12/01 23:48:270B / 5B / 5B
3csanders100.02452010/12/02 05:08:280B / 5B / 5B
4eban100.01532010/12/02 15:01:330B / 5B / 5B
5zzo38100.00812010/12/04 18:30:240B / 5B / 5B

xgawk _

RankUserSizeTimeDateStatistics
1teebee140.02512010/12/02 03:59:460B / 4B / 10B

R _

RankUserSizeTimeDateStatistics
1pooq301.59342010/12/01 19:43:010B / 20B / 10B
2seichung301.70112010/12/06 22:11:330B / 20B / 10B

QCL _

RankUserSizeTimeDateStatistics
1pooq320.38482010/12/11 06:13:310B / 20B / 9B

Whitespace _

RankUserSizeTimeDateStatistics
1%20520.04412015/10/27 19:07:300B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1pla110.02782010/12/02 01:03:140B / 3B / 8B
2teebee110.02692010/12/02 07:52:020B / 3B / 8B
3%20110.03522015/10/27 22:23:000B / 3B / 8B

GolfScript _

RankUserSizeTimeDateStatistics
1narb70.47932010/12/01 20:33:570B / ?B / ?B
2nn70.17122010/12/01 22:35:550B / 1B / 6B
3teebee70.16462010/12/02 02:34:190B / 1B / 6B
4leonid70.16582010/12/02 05:30:220B / 1B / 6B
5betaveros70.16362010/12/13 20:20:130B / 1B / 6B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo3860.14862010/12/04 18:25:240B / 1B / 5B
2milieu60.13272010/12/09 00:00:020B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1pooq130.03932012/09/18 10:59:400B / 3B / 10B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*310.04122010/12/01 19:58:2014B / 12B / 5B

Vim _

RankUserSizeTimeDateStatistics
1pla170.09892010/12/02 00:14:344B / 7B / 5B
2nn200.10772010/12/02 00:33:283B / 6B / 10B

Groovy _

RankUserSizeTimeDateStatistics
1teebee366.35762010/12/02 07:26:260B / 24B / 12B
2nn366.34272010/12/02 08:27:120B / 24B / 12B

Logo _

RankUserSizeTimeDateStatistics
1teebee310.00452011/03/19 17:07:410B / 16B / 9B
2pooq350.00562011/03/19 09:26:180B / 19B / 12B

Language Ranking_

RankLangUserSizeScore
1FlogScriptzzo38610000
2GolfScriptnarb78571
3dcnarb106000
4Befungepla115454
5Burlesquepooq134615
6AWKteebee144285
7xgawkteebee144285
8Jpooq154000
9Bashnarb154000
10Zshnarb173529
11Fishnarb173529
12Vimpla173529
13Perltails203000
14jqeban203000
15BASICteebee212857
16Kpooq212857
17REXXpooq212857
18Rubyleonid222727
19Pythonteebee232608
20bcteebee242500
21PARI/GPteebee252400
22sedeban272222
23Maximapooq292068
24JavaScriptnn292068
25Luateebee292068
26Arcyouz292068
27Asymptoteteebee292068
28Cyanteebee(pooq)292068
29Rpooq302000
30Clojureyouz302000
31PHPteebee302000
32z80*yuko*311935
33Logoteebee311935
34QCLpooq321875
35Octaveinaniwa331818
36Fortran*yuko*351714
37Haskellhenkma351714
38Xtalteebee351714
39Groovyteebee361666
40Common LISPkozima361666
41Schemekaki371621
42waketeebee381578
43Tclteebee381578
44Prologpooq381578
45OCamlm.ukai401500
46REBOLteebee(pooq)401500
47Cinaniwa(embed)431395
48Iconteebee441363
49Pascal*yuko*501200
50Whitespace%20521153
51Kitepooq531132
52Iopooq581034
53Javahallvabo84714
54C++test85705

return top