Is Trivia Done Yet

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

Every week, I write 40 trivia questions for a weekly trivia event. Sometimes people ask me how it's coming along, and I provide a percentage instead of saying how many questions I have left to write. Someone complained that they didn't want to figure out what the percentages corresponded to, so I provided the output below. So, go forth and golf up some scripts that recreate the output.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

2.5% equals 1 question completed.

5% equals 2 questions completed.

7.5% equals 3 questions completed.

10% equals 4 questions completed.

12.5% equals 5 questions completed.

15% equals 6 questions completed.

17.5% equals 7 questions completed.

20% equals 8 questions completed.

22.5% equals 9 questions completed.

25% equals 10 questions completed.

27.5% equals 11 questions completed.

30% equals 12 questions completed.

32.5% equals 13 questions completed.

35% equals 14 questions completed.

37.5% equals 15 questions completed.

40% equals 16 questions completed.

42.5% equals 17 questions completed.

45% equals 18 questions completed.

47.5% equals 19 questions completed.

50% equals 20 questions completed.

52.5% equals 21 questions completed.

55% equals 22 questions completed.

57.5% equals 23 questions completed.

60% equals 24 questions completed.

62.5% equals 25 questions completed.

65% equals 26 questions completed.

67.5% equals 27 questions completed.

70% equals 28 questions completed.

72.5% equals 29 questions completed.

75% equals 30 questions completed.

77.5% equals 31 questions completed.

80% equals 32 questions completed.

82.5% equals 33 questions completed.

85% equals 34 questions completed.

87.5% equals 35 questions completed.

90% equals 36 questions completed.

92.5% equals 37 questions completed.

95% equals 38 questions completed.

97.5% equals 39 questions completed.

100% equals 40 questions completed.

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Sisyphus760.01682023/07/02 13:59:380B / 44B / 26B
2rotary-o760.01662023/07/02 15:37:320B / 46B / 24B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o750.05602023/07/02 15:43:230B / 36B / 32B
2Sisyphus760.05682023/07/02 13:59:430B / 44B / 26B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus620.01542023/06/21 15:52:370B / 38B / 17B
2tails620.01522023/06/21 17:38:340B / 37B / 18B
3teebee620.01672023/06/24 22:03:290B / 38B / 17B
4Hydrazer670.01492023/06/22 00:55:450B / 38B / 22B
5Sisyphus (tails)610.06562023/07/05 15:14:590B / 37B / 17B

Python _

RankUserSizeTimeDateStatistics
1xnor810.03092023/06/21 15:55:000B / 49B / 29B
2Fleur810.03012023/06/22 21:07:120B / 49B / 29B
3hallvabo820.03242023/06/23 06:55:200B / 49B / 29B
4Sisyphus830.03692023/06/21 16:01:160B / 48B / 30B

Python3 _

RankUserSizeTimeDateStatistics
1btnlq820.05152023/06/26 17:33:140B / 48B / 31B
2xnor830.04522023/06/22 14:55:500B / 49B / 31B
3Fleur830.04682023/06/22 20:37:250B / 49B / 31B
4mypetlion850.05002023/06/24 06:43:370B / 51B / 29B
5HI,BILLY MAYS HERE WITH ANOTHER AMAZING CODE GOLF SOLUTION900.04542023/06/21 15:54:510B / 51B / 35B
6PlaceReporter991290.04542023/07/03 03:30:460B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1Sisyphus690.23482023/06/21 21:13:030B / 40B / 23B
2teebee690.22902023/06/24 22:17:330B / 40B / 23B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee770.02042023/06/24 22:11:420B / 44B / 32B
2Sisyphus790.02162023/06/21 21:28:550B / 43B / 31B
3ZED.CWT790.02142023/06/21 22:49:450B / 43B / 31B
4KrausRaus990.02092023/06/27 05:26:140B / 56B / 42B
5teebee (tails)760.02102023/07/08 05:46:370B / 43B / 32B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik890.01502023/07/04 15:41:320B / 52B / 30B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur730.44832023/06/22 09:40:510B / 38B / 29B
2Fleur (btnlq)720.47082023/07/05 15:38:110B / 37B / 29B

C _

RankUserSizeTimeDateStatistics
1rotary-o880.01602023/06/24 17:59:280B / 50B / 34B
2tails880.01362023/06/26 13:46:240B / 50B / 34B
3nu880.01402023/07/05 14:20:270B / 52B / 32B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1190.07882023/06/24 18:07:290B / 67B / 46B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1370.04892023/07/01 20:06:470B / 81B / 46B

AWK _

RankUserSizeTimeDateStatistics
1Fleur720.01862023/06/21 17:18:060B / 45B / 26B
2Sisyphus720.01402023/06/21 21:09:040B / 45B / 23B
3teebee720.01592023/06/24 22:24:160B / 45B / 26B
4McBusLuck720.01422023/07/04 14:48:310B / 46B / 22B
5Fleur (btnlq)710.01752023/07/05 15:35:490B / 44B / 26B
6tails (Fleur)710.01412023/07/05 15:37:150B / 44B / 26B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails780.00732023/06/21 18:12:320B / 45B / 22B
2McBusLuck780.01862023/07/01 15:49:230B / 44B / 25B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck900.00762023/07/02 16:03:090B / 50B / 30B
2McBusLuck890.00852023/07/05 22:30:540B / 49B / 30B

dc _

RankUserSizeTimeDateStatistics
1Fleur660.00682023/06/24 00:29:040B / 45B / 16B
2Fleur (btnlq)650.01752023/07/05 15:36:500B / 44B / 16B

xgawk _

RankUserSizeTimeDateStatistics
1McBusLuck720.02702023/07/04 14:48:570B / 46B / 22B

GolfScript _

RankUserSizeTimeDateStatistics
1tails640.02572023/06/29 14:01:200B / 32B / 28B
2Erik the Outgolfer650.02462023/06/27 21:30:110B / 30B / 29B

gs2 _

RankUserSizeTimeDateStatistics
1whio570.07172023/06/24 01:00:2316B / 33B / 5B
2tails570.07272023/07/03 11:06:3415B / 29B / 6B
3whio560.07892023/07/06 21:21:2816B / 33B / 5B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o922.44552023/06/24 18:04:340B / 52B / 34B

Language Ranking_

RankLangUserSizeScore
1gs2whio5610000
2PerlSisyphus (tails)619180
3GolfScripttails648750
4dcFleur (btnlq)658615
5PHPSisyphus698115
6AWKtails (Fleur)717887
7xgawkMcBusLuck727777
8Perl6Fleur (btnlq)727777
9Ruby2rotary-o757466
10RubySisyphus767368
11JavaScriptteebee (tails)767368
12Bash (builtins)tails787179
13Pythonxnor816913
14Python3btnlq826829
15Crotary-o886363
16LuaHendrik896292
17bcMcBusLuck896292
18Scalarotary-o926086
19Javarotary-o1194705
20C#rotary-o1374087

return to the top page