Fire Emblem 4 RNG

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

Print the distribution of Fire Emblem 4's the first N random numbers.
Note that the very first value is not used.

https://www.pegasusknight.com/mb/fe4/et_rand1.html
https://www.pegasusknight.com/tools/fe4_rand.html

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

54

Sample output:

0	0
1	0
2	0
3	0
4	0
5	0
6	0
7	1
8	0
9	0
10	0
11	0
12	0
13	2
14	1
15	2
16	0
17	2
18	1
19	1
20	0
21	1
22	0
23	0
24	0
25	1
26	1
27	0
28	0
29	0
30	0
31	0
32	1
33	1
34	0
35	0
36	1
37	1
38	0
39	0
40	1
41	2
42	0
43	0
44	1
45	0
46	0
47	0
48	0
49	1
50	2
51	0
52	1
53	2
54	0
55	2
56	0
57	0
58	0
59	0
60	0
61	2
62	0
63	0
64	0
65	0
66	1
67	0
68	0
69	0
70	1
71	0
72	0
73	1
74	2
75	2
76	0
77	0
78	0
79	0
80	2
81	1
82	1
83	1
84	1
85	2
86	1
87	0
88	0
89	1
90	1
91	0
92	0
93	1
94	1
95	1
96	1
97	0
98	1
99	0

Sample input:_

10000

Sample output:

0	100
1	102
2	91
3	92
4	103
5	90
6	109
7	107
8	92
9	86
10	103
11	83
12	116
13	88
14	93
15	88
16	106
17	116
18	90
19	101
20	103
21	108
22	95
23	111
24	98
25	99
26	103
27	110
28	99
29	99
30	94
31	122
32	102
33	93
34	99
35	101
36	93
37	99
38	106
39	106
40	92
41	103
42	85
43	95
44	96
45	110
46	111
47	96
48	98
49	95
50	103
51	104
52	108
53	101
54	107
55	91
56	104
57	111
58	103
59	89
60	91
61	103
62	99
63	118
64	98
65	116
66	105
67	92
68	78
69	100
70	119
71	95
72	104
73	90
74	109
75	101
76	84
77	94
78	104
79	92
80	97
81	86
82	93
83	103
84	103
85	98
86	108
87	117
88	94
89	95
90	106
91	102
92	113
93	112
94	91
95	98
96	101
97	95
98	90
99	108

Sample input:_

549999

Sample output:

0	5625
1	5501
2	5539
3	5464
4	5551
5	5496
6	5427
7	5434
8	5502
9	5361
10	5461
11	5553
12	5453
13	5356
14	5493
15	5555
16	5450
17	5500
18	5437
19	5564
20	5343
21	5447
22	5408
23	5418
24	5417
25	5567
26	5478
27	5589
28	5402
29	5571
30	5549
31	5451
32	5538
33	5568
34	5499
35	5619
36	5590
37	5495
38	5401
39	5548
40	5562
41	5413
42	5527
43	5446
44	5760
45	5560
46	5620
47	5500
48	5542
49	5561
50	5565
51	5455
52	5596
53	5560
54	5451
55	5649
56	5406
57	5612
58	5497
59	5486
60	5538
61	5585
62	5419
63	5489
64	5608
65	5397
66	5455
67	5461
68	5490
69	5484
70	5506
71	5518
72	5546
73	5430
74	5576
75	5445
76	5432
77	5565
78	5510
79	5543
80	5511
81	5497
82	5491
83	5465
84	5533
85	5605
86	5449
87	5607
88	5378
89	5489
90	5464
91	5460
92	5464
93	5439
94	5436
95	5474
96	5480
97	5412
98	5399
99	5561

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o1620.70422019/03/10 23:07:5218B / 67B / 70B
2Histocrat1950.96702019/03/10 02:09:1613B / 91B / 85B
3Histocrat (rotary_o)1540.67322019/03/18 04:56:3918B / 61B / 67B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o1680.32542019/03/10 23:06:0918B / 72B / 71B
2Histocrat1960.37922019/03/07 06:25:1513B / 95B / 82B
3letranger2180.74552019/03/04 19:50:1120B / 96B / 93B
4Histocrat (rotary_o)1620.30102019/03/18 10:17:4418B / 70B / 66B

Perl _

RankUserSizeTimeDateStatistics
1tails1200.26592019/03/05 12:42:400B / 49B / 69B

Python _

RankUserSizeTimeDateStatistics
1hallvabo2500.57492019/03/08 05:05:1011B / 133B / 85B

C _

RankUserSizeTimeDateStatistics
1tails1610.05632019/03/07 12:10:360B / 82B / 76B

Go _

RankUserSizeTimeDateStatistics
1tyos6020.03072019/03/15 12:15:280B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Perltails12010000
2RubyHistocrat (rotary_o)1547792
3Ctails1617453
4Ruby2Histocrat (rotary_o)1627407
5Pythonhallvabo2504800
6Gotyos6021993

return to the top page