I Smoke Two Joints When I Play Video Games FIXED

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

I smoke two joints when I play video games, and at every 10,000 points, I smoke two joints!

Given a score for a game, how many joints were smoked in achieving that score?

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

Donkey Kong:  1,272,800
Galaga:  27,560,470
Pac Man:  3,333,360
Space Invaders:  257,500
Joust:  1,723,000
Frogger:  896,980
Ms. Pac Man:  933,580
Super Mario Bros:  1,455,200
Mega Man:  47,230,400
Dig Dug:  5,429,010
Centipede:  7,750,817
Breakout:  896
Defender:  79,976,975
Gauntlet:  5,615,337
Q*Bert:  37,163,080
Tetris:  999,999
Mario Bros:  5,424,920
Ikari Warriors:  1,799,000
Paperboy:  180,241
Dr. Mario:  9,999,900
Millipede:  10,627,331
Satan's Hollow:  45,088,085
1942:  13,636,680
Raiden:  1,541,160
Arkanoid:  1,158,560
Double Dragon:  470,220
Toobin':  4,435,753

Sample output:

Donkey Kong: 129 joints
Galaga: 2758 joints
Pac Man: 335 joints
Space Invaders: 27 joints
Joust: 174 joints
Frogger: 91 joints
Ms. Pac Man: 95 joints
Super Mario Bros: 147 joints
Mega Man: 4725 joints
Dig Dug: 544 joints
Centipede: 777 joints
Breakout: 2 joints
Defender: 7999 joints
Gauntlet: 563 joints
Q*Bert: 3718 joints
Tetris: 101 joints
Mario Bros: 544 joints
Ikari Warriors: 181 joints
Paperboy: 20 joints
Dr. Mario: 1001 joints
Millipede: 1064 joints
Satan's Hollow: 4510 joints
1942: 1365 joints
Raiden: 156 joints
Arkanoid: 117 joints
Double Dragon: 49 joints
Toobin': 445 joints

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o620.01662024/05/06 18:35:380B / 27B / 30B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o620.08692024/05/06 18:35:260B / 27B / 30B

Perl _

RankUserSizeTimeDateStatistics
1tails460.01512024/05/07 09:58:250B / 22B / 21B
2teebee460.01532024/05/07 10:21:040B / 22B / 21B
3Sisyphus460.01512024/05/07 11:03:280B / 20B / 22B
4fuzzylojik480.01522024/05/07 22:46:460B / 21B / 23B

Python _

RankUserSizeTimeDateStatistics
1fuzzylojik830.03212024/05/17 02:14:040B / 50B / 30B

Python3 _

RankUserSizeTimeDateStatistics
1fuzzylojik810.04792024/05/07 22:42:400B / 47B / 32B
2Fleur810.04872024/05/14 17:01:290B / 47B / 31B
3xnor810.04752024/05/16 06:55:240B / 47B / 31B
4hallvabo830.05252024/05/14 17:11:530B / 44B / 37B
5iSmoke two joints in time of peace, and two in time of war. iSmoke two joins before iSmoke two joins then i fire the entire apple car division840.04812024/05/13 13:24:410B / ?B / ?B
6iSmoke to joints in time of peace and two in time of war. i smoke two joins before i smoke two joins then i fire the entire apple car division980.04762024/05/13 13:21:400B / ?B / ?B
7mrapricot810.04802024/05/30 19:22:380B / 47B / 31B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee790.02102024/05/06 18:48:550B / 44B / 33B
2voytxt790.02082024/05/07 02:07:320B / 44B / 33B
3fuzzylojik790.02272024/05/07 22:20:330B / 44B / 33B
4KrausRaus870.02122024/05/06 08:21:130B / 47B / 38B

AWK _

RankUserSizeTimeDateStatistics
1Fleur400.01442024/05/06 14:16:530B / 21B / 18B
2teebee400.01472024/05/07 02:01:130B / 21B / 18B
3fuzzylojik400.01402024/05/08 05:13:050B / 21B / 18B

sed _

RankUserSizeTimeDateStatistics
1tails880.01542024/05/07 10:47:570B / 27B / 53B
2tails850.01622024/05/20 14:43:210B / 26B / 52B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails530.01972024/05/07 10:27:370B / 27B / 18B

dc _

RankUserSizeTimeDateStatistics
1Fleur9990.01432024/05/13 18:47:580B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1tails210.07372024/05/17 13:50:516B / 11B / 4B
2whio210.07042024/05/18 20:28:425B / 12B / 4B

Nibbles _

RankUserSizeTimeDateStatistics
1tails180.02022024/05/17 13:55:0412B / 3B / 3B
2whio190.02192024/05/20 07:45:0414B / 3B / 2B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o943.02372024/05/06 18:25:310B / 60B / 29B

Language Ranking_

RankLangUserSizeScore
1Nibblestails1810000
2gs2tails218571
3AWKFleur404500
4Perltails463913
5Bash (builtins)tails533396
6Ruby2rotary-o622903
7Rubyrotary-o622903
8JavaScriptteebee792278
9Python3fuzzylojik812222
10Pythonfuzzylojik832168
11sedtails852117
12Scalarotary-o941914
13dcFleur999180

return to the top page