#97

by asd

Submitted 3 years 6 months 1 day ago
Mon May 10 19:50:44 CST 2021
Judger: judger1
Dataset Version: v6

545 ms / 8904 KB
Final 0
Problem: lss4.tail
Language: GNU C++ 11


#1

9ms / 8832KB / Wrong Answer
Input
869
gisei 19
gisei 38
renshuu 67 36
shitsumon 67
renshuu 81 86
shukufuku 68
gisei 91
shitsumon 172
renshuu 58 96
shukufuku 46
gisei 93
renshuu 49 7
renshuu 16 67
gisei 21
renshuu 71 33
gisei 45
shukufuku 77
shitsumon 116
shitsumon 217
shukufuku 87
shitsumon 217
shukufuku 46
shitsumon 82
gisei 55
renshuu 7 99
gisei 14
gisei 43
gisei 44
gisei 55
gisei 67
gisei 92
gisei 35
shukufuku 63
renshuu 91 69
renshuu 43 50
shitsumon 622
shukufuku 91
shitsumon 357
shukufuku 14
shitsumon 622
renshuu 4 98
gisei 84
gisei 45
shitsumon 650
gisei 50
shukufuku 56
gisei 59
renshuu 27 1
shitsumon 960
renshuu 9 55
renshuu 40 13
renshuu 79 100
gisei 50
shitsumon 292
renshuu 54 95
renshuu 4 33
shukufuku 31
shukufuku 9
renshuu 70 7
gisei 86
shitsumon 895
gisei 84
shitsumon 229
gisei 15
gisei 49
shitsumon 1042
gisei 50
shukufuku 69
shitsumon 1194
shukufuku 5
shitsumon 1092
shitsumon 1294
shitsumon 338
shitsumon 361
gisei 70
gisei 88
shukufuku 91
renshuu 66 73
<...>
Output
0
68
191
191
278
324
387
478
492
492
548
548
588
588
588
657
662
662
662
662
821
821
913
913
934
934
934
1262
1497
1497
1497
1518
1518
1608
1714
1714
1769
1929
1929
2044
2044
2087
2087
2087
2087
2265
2265
2265
2265
2344
2344
2344
2344
2551
2551
2551
2551
2551
2832
2872
3021
3040
3098
3129
3326
3387
3387
3401
3401
3728
3728
3936
4105
4105
4245
4327
4400
4444
4444
4444
4444
4533
4533
4533
4533
4661
4848
4910
4910
4910
4967
4967
4967
4997
5066
5066
5164
5255
5255
5255
5255
5295
5295
5295
5539
5539
5539
5612
5633
5679
5720
5720
5720
5720
5730
5730
5730
5838
5838
5838
5879
5879
5883
5883
5883
5883
5899
5899
5972
6023
6023
6051
6070
6070
6218
6218
6297
6297
6297
6301
6329
6329
6416
6416
6489
6489
6489
6529
6529
6566
6566
6566
6566
6643
6721
6721
6721
6721
6721
6721
6723
6723
6723
6723
6723
6723
6723
6757
6804
6804
6804
6823
7094
7094
7123
7123
7123
7176
7176
7176
7412
7412
7412
7430
7430
7515
7530
7666
7666
7666
7666
7666
7738
7738
7794
7794
7794
7794
7885
7931
7931
7931
8388
8388
8388
8388
8433
8433
8472
8472
8472<...>
Answer
Line:1Deal:gisei
Line:2Deal:gisei
Line:3Deal:renshuu
Line:4Deal:shitsumon
36
Line:5Deal:renshuu
Line:6Deal:shukufuku
Line:7Deal:gisei
Line:8Deal:shitsumon
154
Line:9Deal:renshuu
Line:10Deal:shukufuku
Line:11Deal:gisei
Line:12Deal:renshuu
Line:13Deal:renshuu
Line:14Deal:gisei
Line:15Deal:renshuu
Line:16Deal:gisei
Line:17Deal:shukufuku
Line:18Deal:shitsumon
110
Line:19Deal:shitsumon
219
Line:20Deal:shukufuku
Line:21Deal:shitsumon
306
Line:22Deal:shukufuku
Line:23Deal:shitsumon
277
Line:24Deal:gisei
Line:25Deal:renshuu
Line:26Deal:gisei
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:gisei
Line:30Deal:gisei
Line:31Deal:gisei
Line:32Deal:gisei
Line:33Deal:shukufuku
Line:34Deal:renshuu
Line:35Deal:renshuu
Line:36Deal:shitsumon
415
Line:37Deal:shukufuku
Line:38Deal:shitsumon
253
Line:39Deal:shukufuku
Line:40Deal:shitsumon
520
Line:41Deal:renshuu
Line:42Deal:gisei
Line:43Deal:gisei
Line:44Deal:shitsumon
411
Line:45Deal:gisei
Line:46Deal:shukufuku
Line:47Deal:gi<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '0'

#2

8ms / 8904KB / Wrong Answer
Input
960
renshuu 22 85
gisei 80
shitsumon 102
gisei 63
shukufuku 44
gisei 42
gisei 88
renshuu 1 71
shitsumon 1
renshuu 57 52
gisei 59
shukufuku 99
renshuu 80 57
gisei 64
shitsumon 418
gisei 48
gisei 93
renshuu 39 70
shitsumon 321
gisei 41
renshuu 23 73
renshuu 95 51
gisei 39
shitsumon 365
shitsumon 119
renshuu 14 21
gisei 38
renshuu 51 20
shitsumon 157
shukufuku 73
shitsumon 51
renshuu 71 42
renshuu 5 71
shitsumon 52
gisei 82
shukufuku 36
renshuu 21 12
renshuu 3 51
renshuu 91 14
shukufuku 65
shitsumon 465
gisei 67
shukufuku 16
renshuu 38 15
gisei 24
shukufuku 41
renshuu 66 38
gisei 94
renshuu 65 41
shukufuku 7
gisei 85
gisei 64
shitsumon 588
shitsumon 467
shitsumon 516
shitsumon 819
shitsumon 855
renshuu 90 87
shukufuku 97
renshuu 8 70
shitsumon 355
gisei 67
shitsumon 75
gisei 27
shukufuku 75
shitsumon 949
shitsumon 308
shukufuku 3
shukufuku 6
shitsumon 581
gisei 11
renshuu 50 24
shukufuku 57
shukufuku 65
shitsumon 195
shitsumon 621
gisei<...>
Output
0
44
143
143
143
143
143
216
216
317
381
381
381
381
381
478
478
553
553
562
684
684
828
919
919
998
1112
1112
1112
1112
1204
1204
1233
1352
1352
1437
1703
1703
1703
1703
1703
1703
1879
1955
2038
2038
2038
2038
2066
2125
2125
2125
2219
2219
2219
2317
2317
2451
2451
2451
2473
2473
2595
2857
2857
2916
2933
2933
2933
3064
3103
3201
3214
3379
3382
3382
3382
3382
3382
3388
3388
3411
3675
3691
3691
3782
3782
3782
3870
3964
3964
3964
4024
4087
4243
4340
4412
4470
4525
4525
4525
4525
4525
4562
4562
4562
4592
4592
4592
4592
4592
4689
4725
4725
4725
4725
4805
4894
4894
4894
4947
4977
5023
5088
5088
5088
5088
5149
5254
5254
5254
5350
5532
5587
5685
5685
5861
5867
5966
6013
6056
6056
6173
6368
6440
6490
6490
6490
6490
6490
6588
6651
6721
6721
6803
6980
6980
6980
6980
7101
7193
7193
7193
7364
7512
7512
7603
7617
7617
7635
7635
7635
7716
7716
7716
7716
7865
7990
7990
7990
8029
8029
8044
8044
8063
8107
8248
8462
8929
8929
8929
8929
8929
8929
8929
8929
9055
9055
9133
9147
9147
9395
9395
9544
9544
9544
9544
9571
9583
9783
981<...>
Answer
Line:1Deal:renshuu
Line:2Deal:gisei
Line:3Deal:shitsumon
85
Line:4Deal:gisei
Line:5Deal:shukufuku
Line:6Deal:gisei
Line:7Deal:gisei
Line:8Deal:renshuu
Line:9Deal:shitsumon
71
Line:10Deal:renshuu
Line:11Deal:gisei
Line:12Deal:shukufuku
Line:13Deal:renshuu
Line:14Deal:gisei
Line:15Deal:shitsumon
228
Line:16Deal:gisei
Line:17Deal:gisei
Line:18Deal:renshuu
Line:19Deal:shitsumon
151
Line:20Deal:gisei
Line:21Deal:renshuu
Line:22Deal:renshuu
Line:23Deal:gisei
Line:24Deal:shitsumon
57
Line:25Deal:shitsumon
70
Line:26Deal:renshuu
Line:27Deal:gisei
Line:28Deal:renshuu
Line:29Deal:shitsumon
70
Line:30Deal:shukufuku
Line:31Deal:shitsumon
93
Line:32Deal:renshuu
Line:33Deal:renshuu
Line:34Deal:shitsumon
94
Line:35Deal:gisei
Line:36Deal:shukufuku
Line:37Deal:renshuu
Line:38Deal:renshuu
Line:39Deal:renshuu
Line:40Deal:shukufuku
Line:41Deal:shitsumon
344
Line:42Deal:gisei
Line:43Deal:shukufuku
Line:44Deal:renshuu
Line:45Deal:gisei
Line:46Deal:shukufuku
Line:47Deal:renshu<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '0'

#3

5ms / 8820KB / Wrong Answer
Input
572
renshuu 34 98
gisei 41
shitsumon 75
shitsumon 75
shukufuku 55
shitsumon 75
renshuu 11 76
shukufuku 58
shitsumon 11
shitsumon 75
shitsumon 11
renshuu 94 22
shukufuku 38
gisei 92
renshuu 37 45
shukufuku 11
gisei 91
shukufuku 58
renshuu 80 26
shukufuku 23
renshuu 52 69
renshuu 26 1
shukufuku 27
shitsumon 258
shukufuku 28
renshuu 49 52
gisei 75
gisei 27
shukufuku 20
shitsumon 230
shukufuku 95
renshuu 86 57
shukufuku 36
shukufuku 70
renshuu 41 76
renshuu 27 72
gisei 70
renshuu 61 59
shukufuku 98
gisei 18
shukufuku 8
renshuu 66 72
gisei 22
shukufuku 79
shukufuku 95
gisei 10
shitsumon 274
shitsumon 274
shitsumon 499
shukufuku 9
shukufuku 13
shitsumon 416
renshuu 49 35
renshuu 62 63
shitsumon 274
gisei 35
renshuu 44 64
shitsumon 451
shukufuku 9
gisei 22
shitsumon 263
renshuu 6 85
shukufuku 66
shukufuku 79
shukufuku 55
shukufuku 14
shitsumon 407
gisei 35
renshuu 24 57
renshuu 76 95
shitsumon 41
renshuu 55 45
gisei 77
shukufuku 41
renshuu 7 <...>
Output
0
0
55
113
113
113
270
318
799
799
799
821
821
821
830
1044
1044
1193
1277
1363
1363
1363
1363
1363
1363
1485
1485
1485
1586
1603
1603
1612
1612
1745
1745
1745
1745
1838
1903
2065
2065
2065
2172
2172
2262
2262
2340
2340
2437
2484
2484
2484
2484
2559
2559
2559
2810
2810
2906
2906
2906
2906
2923
2923
2923
2946
2946
2946
3124
3124
3149
3149
3175
3175
3175
3256
3256
3256
3256
3461
3537
3537
3537
3626
3626
3723
3736
3736
3811
4083
4167
4167
4480
4740
4775
4775
4775
4963
4963
5051
5235
5235
5235
5235
5235
5269
5269
5402
5402
5493
5659
5753
5938
5938
5938
5966
6094
6183
6329
6329
6354
6354
6354
6354
6354
6354
6354
6414
6438
6438
6438
6438
6549
6608
6608
6692
6875
6875
Answer
Line:1Deal:renshuu
Line:2Deal:gisei
Line:3Deal:shitsumon
98
Line:4Deal:shitsumon
98
Line:5Deal:shukufuku
Line:6Deal:shitsumon
153
Line:7Deal:renshuu
Line:8Deal:shukufuku
Line:9Deal:shitsumon
134
Line:10Deal:shitsumon
211
Line:11Deal:shitsumon
134
Line:12Deal:renshuu
Line:13Deal:shukufuku
Line:14Deal:gisei
Line:15Deal:renshuu
Line:16Deal:shukufuku
Line:17Deal:gisei
Line:18Deal:shukufuku
Line:19Deal:renshuu
Line:20Deal:shukufuku
Line:21Deal:renshuu
Line:22Deal:renshuu
Line:23Deal:shukufuku
Line:24Deal:shitsumon
368
Line:25Deal:shukufuku
Line:26Deal:renshuu
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:shukufuku
Line:30Deal:shitsumon
212
Line:31Deal:shukufuku
Line:32Deal:renshuu
Line:33Deal:shukufuku
Line:34Deal:shukufuku
Line:35Deal:renshuu
Line:36Deal:renshuu
Line:37Deal:gisei
Line:38Deal:renshuu
Line:39Deal:shukufuku
Line:40Deal:gisei
Line:41Deal:shukufuku
Line:42Deal:renshuu
Line:43Deal:gisei
Line:44Deal:shukufuku
Line:45Deal:shukufuku
Line:46Deal:gisei
<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '0'

#4

7ms / 8752KB / Wrong Answer
Input
833
renshuu 12 31
gisei 40
renshuu 36 76
shukufuku 96
shitsumon 36
shitsumon 52
shitsumon 36
shitsumon 36
gisei 70
gisei 71
renshuu 10 43
shitsumon 193
renshuu 39 85
shukufuku 42
shukufuku 5
shitsumon 177
renshuu 73 16
shitsumon 10
gisei 86
renshuu 19 26
shitsumon 96
renshuu 99 71
renshuu 85 40
shukufuku 25
gisei 37
shukufuku 25
shitsumon 196
shitsumon 300
renshuu 89 47
shitsumon 133
renshuu 24 61
shitsumon 196
gisei 59
shukufuku 33
shitsumon 192
gisei 27
renshuu 90 17
shitsumon 282
gisei 23
shitsumon 113
shukufuku 22
renshuu 62 56
renshuu 2 2
renshuu 42 87
shukufuku 5
gisei 88
renshuu 29 19
shukufuku 19
renshuu 93 10
shukufuku 99
renshuu 7 78
shitsumon 201
renshuu 77 50
gisei 34
renshuu 18 100
shitsumon 111
shitsumon 235
gisei 48
shukufuku 59
shukufuku 74
renshuu 100 25
shitsumon 89
shukufuku 63
shitsumon 303
gisei 46
renshuu 16 97
renshuu 37 96
gisei 12
renshuu 25 3
shitsumon 499
renshuu 27 64
shitsumon 27
gisei 79
shukufuku 3
renshu<...>
Output
96
96
96
96
96
143
143
143
193
193
193
193
226
226
226
371
371
371
504
567
567
567
691
691
691
691
691
775
775
775
775
892
938
1068
1068
1265
1265
1265
1461
1600
1650
1726
1806
1806
1854
1854
1878
1878
1878
1970
2051
2051
2051
2051
2169
2169
2169
2169
2171
2171
2361
2361
2361
2474
2474
2504
2504
2504
2504
2504
2504
2824
2910
3092
3092
3092
3297
3354
3495
3581
3632
3632
3632
3632
3664
3809
3854
3854
3854
3854
3854
4034
4034
4034
4128
4128
4128
4128
4263
4270
4292
4318
4421
4425
4510
4510
4510
4510
4634
4705
4784
4978
4978
4978
4978
4978
4978
4984
4984
5042
5042
5611
5611
5611
5611
5611
5611
5655
5655
5655
5655
5902
5945
5945
5945
5945
5960
5963
5963
6027
6066
6066
6066
6329
6329
6329
6329
6329
6508
6508
6669
6669
6702
6702
6702
6805
6805
6845
6894
6894
6964
7055
7055
7091
7431
7435
7573
7608
7608
7608
7608
7908
7908
7908
7912
7912
7962
7962
8024
8136
8145
8145
8145
8145
8259
8376
8452
8452
8452
8516
8615
8615
8615
8615
8615
8888
8888
8901
9101
9101
9165
9183
9234
9320
9418
9418
9430
9850
9933
10052
10052
10308<...>
Answer
Line:1Deal:renshuu
Line:2Deal:gisei
Line:3Deal:renshuu
Line:4Deal:shukufuku
Line:5Deal:shitsumon
172
Line:6Deal:shitsumon
127
Line:7Deal:shitsumon
172
Line:8Deal:shitsumon
172
Line:9Deal:gisei
Line:10Deal:gisei
Line:11Deal:renshuu
Line:12Deal:shitsumon
127
Line:13Deal:renshuu
Line:14Deal:shukufuku
Line:15Deal:shukufuku
Line:16Deal:shitsumon
219
Line:17Deal:renshuu
Line:18Deal:shitsumon
90
Line:19Deal:gisei
Line:20Deal:renshuu
Line:21Deal:shitsumon
90
Line:22Deal:renshuu
Line:23Deal:renshuu
Line:24Deal:shukufuku
Line:25Deal:gisei
Line:26Deal:shukufuku
Line:27Deal:shitsumon
66
Line:28Deal:shitsumon
269
Line:29Deal:renshuu
Line:30Deal:shitsumon
140
Line:31Deal:renshuu
Line:32Deal:shitsumon
66
Line:33Deal:gisei
Line:34Deal:shukufuku
Line:35Deal:shitsumon
173
Line:36Deal:gisei
Line:37Deal:renshuu
Line:38Deal:shitsumon
99
Line:39Deal:gisei
Line:40Deal:shitsumon
17
Line:41Deal:shukufuku
Line:42Deal:renshuu
Line:43Deal:renshuu
Line:44Deal:renshuu
Line:45Deal:<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '96'

#5

7ms / 8836KB / Wrong Answer
Input
830
gisei 22
shukufuku 67
renshuu 43 25
shitsumon 43
renshuu 37 19
shukufuku 84
shitsumon 43
shitsumon 43
shukufuku 43
shitsumon 43
shukufuku 46
shukufuku 67
gisei 84
gisei 64
renshuu 9 60
gisei 38
shukufuku 75
shukufuku 32
gisei 98
renshuu 70 77
renshuu 25 15
shitsumon 70
renshuu 17 33
shitsumon 25
shitsumon 70
shitsumon 25
gisei 12
shukufuku 8
shitsumon 333
renshuu 39 91
renshuu 28 98
renshuu 50 98
renshuu 4 56
gisei 21
renshuu 35 54
gisei 97
shitsumon 168
renshuu 53 81
renshuu 78 99
shukufuku 16
shitsumon 132
gisei 99
renshuu 73 6
gisei 48
renshuu 42 73
renshuu 73 59
gisei 5
shukufuku 35
shitsumon 298
renshuu 76 9
shukufuku 76
renshuu 71 89
renshuu 77 3
shitsumon 230
shitsumon 71
gisei 63
gisei 12
gisei 49
gisei 81
renshuu 37 96
renshuu 56 67
shitsumon 56
shitsumon 276
shitsumon 814
shukufuku 71
renshuu 14 82
renshuu 6 16
gisei 94
renshuu 3 34
renshuu 24 2
renshuu 79 28
gisei 63
gisei 58
shukufuku 26
gisei 74
gisei 63
renshuu 87 6<...>
Output
67
151
151
194
414
414
414
414
422
422
438
473
549
549
549
549
549
646
651
678
771
771
816
859
859
859
991
1155
1155
1155
1155
1212
1212
1633
1633
1859
1882
1882
2021
2021
2364
2364
2403
2403
2404
2404
2404
2604
2604
2604
2604
2604
2615
2615
2732
2732
2732
2732
2732
2732
2732
2900
2978
2978
3067
3206
3206
3300
3349
3523
3631
3631
3631
3631
3722
3722
3786
3956
3956
3990
3990
4046
4099
4400
4644
4712
4712
4712
4797
4849
5108
5108
5108
5108
5110
5147
5147
5147
5272
5421
5659
5659
5659
5753
5753
5753
5827
5919
5968
5968
6044
6064
6199
6340
6340
6340
6340
6340
6652
6652
6652
6652
6759
6759
6759
6759
6759
6759
6939
6975
6975
7100
7100
7132
7283
7283
7283
7355
7485
7549
7769
8150
8150
8150
8150
8150
8181
8316
8316
8414
8496
8536
8536
8536
8536
8610
8702
8731
8738
8738
9077
9077
9077
9169
9252
9280
9374
9374
9649
9714
9723
9792
9847
9868
9868
9868
9868
10085
10117
10148
10148
10148
10148
10148
10188
10272
10494
10625
10682
10861
10861
10919
11020
11037
11164
11164
11318
11451
11451
11489
11489
11538
11538
11662
11662<...>
Answer
Line:1Deal:gisei
Line:2Deal:shukufuku
Line:3Deal:renshuu
Line:4Deal:shitsumon
25
Line:5Deal:renshuu
Line:6Deal:shukufuku
Line:7Deal:shitsumon
109
Line:8Deal:shitsumon
109
Line:9Deal:shukufuku
Line:10Deal:shitsumon
152
Line:11Deal:shukufuku
Line:12Deal:shukufuku
Line:13Deal:gisei
Line:14Deal:gisei
Line:15Deal:renshuu
Line:16Deal:gisei
Line:17Deal:shukufuku
Line:18Deal:shukufuku
Line:19Deal:gisei
Line:20Deal:renshuu
Line:21Deal:renshuu
Line:22Deal:shitsumon
77
Line:23Deal:renshuu
Line:24Deal:shitsumon
15
Line:25Deal:shitsumon
77
Line:26Deal:shitsumon
15
Line:27Deal:gisei
Line:28Deal:shukufuku
Line:29Deal:shitsumon
374
Line:30Deal:renshuu
Line:31Deal:renshuu
Line:32Deal:renshuu
Line:33Deal:renshuu
Line:34Deal:gisei
Line:35Deal:renshuu
Line:36Deal:gisei
Line:37Deal:shitsumon
98
Line:38Deal:renshuu
Line:39Deal:renshuu
Line:40Deal:shukufuku
Line:41Deal:shitsumon
70
Line:42Deal:gisei
Line:43Deal:renshuu
Line:44Deal:gisei
Line:45Deal:renshuu
Line:46Deal:renshuu
<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '67'

#6

7ms / 8832KB / Wrong Answer
Input
928
gisei 429
shukufuku 919
shukufuku 455
gisei 637
shukufuku 243
shukufuku 617
shukufuku 980
shukufuku 729
renshuu 801 614
renshuu 318 98
gisei 806
shitsumon 1607
renshuu 846 634
gisei 671
shukufuku 4
shitsumon 1517
shukufuku 701
shukufuku 394
shukufuku 347
shukufuku 348
gisei 650
renshuu 829 415
renshuu 922 826
shitsumon 2928
gisei 721
shitsumon 1643
renshuu 386 509
gisei 374
shitsumon 2017
gisei 774
shukufuku 474
shukufuku 607
shukufuku 12
renshuu 243 484
gisei 30
renshuu 263 697
gisei 93
shitsumon 366
gisei 896
shukufuku 961
shukufuku 594
renshuu 90 91
renshuu 42 279
renshuu 198 598
shukufuku 397
renshuu 682 210
shitsumon 682
shitsumon 1252
shukufuku 23
gisei 764
shitsumon 854
gisei 242
renshuu 853 399
shukufuku 952
renshuu 610 158
shukufuku 273
renshuu 856 907
gisei 939
shitsumon 7278
shitsumon 2627
shitsumon 7761
shukufuku 845
shitsumon 2143
shukufuku 863
shukufuku 871
shitsumon 3197
shukufuku 171
shukufuku 680
gisei 564
renshuu 249 9<...>
Output
3943
3947
5737
5737
5737
6830
8782
8782
8805
10030
10030
10030
10875
12609
14160
14160
14160
14921
16156
16374
16956
16956
16956
17287
17341
17341
17341
18739
19781
20438
20928
21552
22369
23566
24400
24400
25272
25272
25272
25272
25272
25272
27742
27742
27742
29535
30478
30478
32180
34723
34723
35971
37167
38101
38101
38624
40335
40335
42649
42649
42649
42649
42649
44295
45654
45654
46298
46298
47795
48302
49124
49903
50661
50661
50661
50661
50661
50661
51083
53702
54377
54377
54434
54434
54434
55249
55249
55249
55249
56858
56858
56858
58120
58801
59388
60379
60379
61189
63625
65408
65479
66820
66820
66820
67808
68504
69664
70073
70073
70073
71433
71433
71729
71729
72122
72122
72122
73016
73547
73547
73547
74996
75662
76065
77485
77485
77746
78430
78430
79321
79321
79321
80158
80580
81263
81547
81547
82758
82758
82758
83707
83833
83833
83833
84215
84215
84215
84215
84215
84215
84215
85342
85342
85505
85505
85505
85505
85505
85505
85505
86047
86047
86047
86047
87103
87610
87610
87711
88401
88401
90174
91957
9<...>
Answer
Line:1Deal:gisei
Line:2Deal:shukufuku
Line:3Deal:shukufuku
Line:4Deal:gisei
Line:5Deal:shukufuku
Line:6Deal:shukufuku
Line:7Deal:shukufuku
Line:8Deal:shukufuku
Line:9Deal:renshuu
Line:10Deal:renshuu
Line:11Deal:gisei
Line:12Deal:shitsumon
614
Line:13Deal:renshuu
Line:14Deal:gisei
Line:15Deal:shukufuku
Line:16Deal:shitsumon
638
Line:17Deal:shukufuku
Line:18Deal:shukufuku
Line:19Deal:shukufuku
Line:20Deal:shukufuku
Line:21Deal:gisei
Line:22Deal:renshuu
Line:23Deal:renshuu
Line:24Deal:shitsumon
2408
Line:25Deal:gisei
Line:26Deal:shitsumon
826
Line:27Deal:renshuu
Line:28Deal:gisei
Line:29Deal:shitsumon
826
Line:30Deal:gisei
Line:31Deal:shukufuku
Line:32Deal:shukufuku
Line:33Deal:shukufuku
Line:34Deal:renshuu
Line:35Deal:gisei
Line:36Deal:renshuu
Line:37Deal:gisei
Line:38Deal:shitsumon
484
Line:39Deal:gisei
Line:40Deal:shukufuku
Line:41Deal:shukufuku
Line:42Deal:renshuu
Line:43Deal:renshuu
Line:44Deal:renshuu
Line:45Deal:shukufuku
Line:46Deal:renshuu
Line:47Deal:<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '3943'

#7

6ms / 8800KB / Wrong Answer
Input
704
shukufuku 330
shukufuku 613
renshuu 42 584
shukufuku 832
renshuu 932 452
shitsumon 42
gisei 74
shitsumon 1006
renshuu 209 89
shitsumon 209
gisei 658
shitsumon 867
renshuu 734 990
shitsumon 1664
gisei 635
shukufuku 887
renshuu 318 118
shitsumon 318
renshuu 650 825
shukufuku 230
gisei 467
renshuu 104 378
shukufuku 807
gisei 857
renshuu 646 775
renshuu 790 187
shukufuku 281
gisei 823
shitsumon 2797
gisei 638
shukufuku 551
gisei 527
shukufuku 309
shitsumon 2778
shukufuku 302
gisei 509
renshuu 110 769
shitsumon 3287
renshuu 91 106
gisei 101
renshuu 967 210
renshuu 429 664
renshuu 572 357
shitsumon 3388
shukufuku 670
shukufuku 661
shitsumon 5424
renshuu 720 842
shitsumon 5291
shitsumon 211
renshuu 543 965
shukufuku 28
gisei 429
gisei 141
gisei 812
shitsumon 4770
gisei 181
renshuu 182 789
gisei 434
renshuu 872 931
renshuu 176 553
renshuu 399 116
gisei 628
shitsumon 7956
renshuu 168 19
shitsumon 1500
shukufuku 91
shitsumon 3592
shitsumon 5869
s<...>
Output
1775
1775
1775
1775
1775
2662
3980
4840
5142
5142
6473
6473
6473
6501
6501
6501
6592
6592
6592
6903
6903
6903
6903
7759
7759
7885
8473
9019
10116
10248
10955
12399
12546
13284
14176
14176
14176
14545
17953
17953
17953
17953
17953
18590
18590
19376
19789
19789
20313
21749
22970
23801
24523
24523
24523
24975
25352
26958
26958
27677
27677
27677
29147
29147
29147
29147
29147
29147
29147
29293
29293
29293
29738
29738
29738
30162
30162
33103
34122
34793
34793
34793
35716
35780
35780
35780
36264
36623
37472
40078
40078
40078
40727
41297
41297
41297
41297
41297
41297
41573
44025
44025
44236
44236
45229
46030
46030
47557
48843
48843
48843
48993
49103
49103
49103
49103
49610
49610
49610
50157
50157
50157
50157
50468
50726
51423
52039
52039
52039
52039
52039
52815
52815
52815
52815
52815
52815
54231
56732
56732
56732
56732
56732
56748
56748
56748
56748
58990
58990
58990
68019
68482
72226
73320
73320
74039
74039
74039
74039
74400
74400
74400
74400
74400
74400
75408
75408
75408
76976
78967
78967
81569
Answer
Line:1Deal:shukufuku
Line:2Deal:shukufuku
Line:3Deal:renshuu
Line:4Deal:shukufuku
Line:5Deal:renshuu
Line:6Deal:shitsumon
1416
Line:7Deal:gisei
Line:8Deal:shitsumon
452
Line:9Deal:renshuu
Line:10Deal:shitsumon
89
Line:11Deal:gisei
Line:12Deal:shitsumon
89
Line:13Deal:renshuu
Line:14Deal:shitsumon
452
Line:15Deal:gisei
Line:16Deal:shukufuku
Line:17Deal:renshuu
Line:18Deal:shitsumon
118
Line:19Deal:renshuu
Line:20Deal:shukufuku
Line:21Deal:gisei
Line:22Deal:renshuu
Line:23Deal:shukufuku
Line:24Deal:gisei
Line:25Deal:renshuu
Line:26Deal:renshuu
Line:27Deal:shukufuku
Line:28Deal:gisei
Line:29Deal:shitsumon
2143
Line:30Deal:gisei
Line:31Deal:shukufuku
Line:32Deal:gisei
Line:33Deal:shukufuku
Line:34Deal:shitsumon
1328
Line:35Deal:shukufuku
Line:36Deal:gisei
Line:37Deal:renshuu
Line:38Deal:shitsumon
1630
Line:39Deal:renshuu
Line:40Deal:gisei
Line:41Deal:renshuu
Line:42Deal:renshuu
Line:43Deal:renshuu
Line:44Deal:shitsumon
1630
Line:45Deal:shukufuku
Line:46Deal:s<...>
Checker Information
1st words differ - expected: 'Line:1Deal:shukufuku', found: '1775'

#8

7ms / 8744KB / Wrong Answer
Input
965
gisei 318
shukufuku 628
renshuu 686 431
renshuu 408 667
gisei 880
renshuu 230 496
shukufuku 384
shukufuku 303
gisei 60
shukufuku 702
shukufuku 708
renshuu 93 174
shitsumon 290
gisei 515
renshuu 180 568
gisei 696
renshuu 302 668
shukufuku 454
shitsumon 2837
renshuu 904 68
gisei 929
gisei 723
gisei 290
shukufuku 290
shitsumon 4501
gisei 787
gisei 319
gisei 794
shitsumon 4746
gisei 311
shitsumon 5029
shitsumon 5457
shitsumon 4455
renshuu 280 805
gisei 339
renshuu 261 593
shitsumon 7051
shukufuku 219
shukufuku 873
shukufuku 568
renshuu 701 314
shitsumon 5993
shitsumon 701
shitsumon 701
renshuu 681 612
shitsumon 701
renshuu 477 32
shitsumon 477
renshuu 458 8
shitsumon 5396
renshuu 648 611
renshuu 908 45
shukufuku 705
renshuu 900 699
renshuu 215 973
renshuu 713 713
shitsumon 681
shitsumon 261
renshuu 998 628
gisei 454
renshuu 956 317
gisei 395
shukufuku 435
gisei 380
gisei 41
shitsumon 1951
shukufuku 598
shukufuku 456
renshuu 154 331
shukufuk<...>
Output
2725
3179
3469
3469
3469
3469
3469
3469
5129
5129
5129
5129
5129
5129
5834
5834
6269
9196
9196
9196
9196
9196
12095
12095
13036
13036
13188
13188
13188
13188
14908
14908
14908
16507
16507
16507
16507
16507
16703
17456
17456
18458
18458
20369
20590
20590
21037
22068
22068
22068
22068
22702
22702
23110
23110
23933
23933
24703
24703
25256
25256
25923
27807
29504
29504
29504
30721
30721
30721
32706
32706
33744
34752
34752
34752
34752
34752
36445
36864
37888
37888
37888
37888
37888
40486
41381
41381
42556
44707
44707
44707
44707
45298
45298
46534
47336
47336
47878
47878
47878
48664
50821
51374
52411
52411
53915
53915
53915
53915
54581
54581
54581
55562
56062
57684
57684
57684
58350
58350
58546
59050
59050
59599
59744
60009
60684
61456
61456
61456
64455
64455
64455
64744
65175
65452
65452
65982
65982
65982
65982
67773
67997
69079
69079
72132
72132
72132
72808
72808
72808
72808
72808
73789
75533
76460
76460
77137
77137
77137
78574
80098
80098
80668
83639
85672
86542
88181
88181
88532
88677
89187
89187
89187
90305
90<...>
Answer
Line:1Deal:gisei
Line:2Deal:shukufuku
Line:3Deal:renshuu
Line:4Deal:renshuu
Line:5Deal:gisei
Line:6Deal:renshuu
Line:7Deal:shukufuku
Line:8Deal:shukufuku
Line:9Deal:gisei
Line:10Deal:shukufuku
Line:11Deal:shukufuku
Line:12Deal:renshuu
Line:13Deal:shitsumon
2593
Line:14Deal:gisei
Line:15Deal:renshuu
Line:16Deal:gisei
Line:17Deal:renshuu
Line:18Deal:shukufuku
Line:19Deal:shitsumon
2982
Line:20Deal:renshuu
Line:21Deal:gisei
Line:22Deal:gisei
Line:23Deal:gisei
Line:24Deal:shukufuku
Line:25Deal:shitsumon
3508
Line:26Deal:gisei
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:shitsumon
358
Line:30Deal:gisei
Line:31Deal:shitsumon
1312
Line:32Deal:shitsumon
918
Line:33Deal:shitsumon
1412
Line:34Deal:renshuu
Line:35Deal:gisei
Line:36Deal:renshuu
Line:37Deal:shitsumon
3508
Line:38Deal:shukufuku
Line:39Deal:shukufuku
Line:40Deal:shukufuku
Line:41Deal:renshuu
Line:42Deal:shitsumon
4997
Line:43Deal:shitsumon
314
Line:44Deal:shitsumon
314
Line:45Deal:renshuu
Line:46Dea<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '2725'

#9

6ms / 8876KB / Wrong Answer
Input
862
gisei 73261
renshuu 18928 13603
gisei 60101
gisei 66448
shukufuku 15222
gisei 46074
shitsumon 191551
gisei 44303
shitsumon 235854
shukufuku 47509
shukufuku 22233
renshuu 88375 62528
gisei 96960
shitsumon 185335
renshuu 92655 18989
shitsumon 332814
shukufuku 18416
renshuu 50565 40539
shukufuku 84170
gisei 53047
renshuu 38479 75548
shitsumon 103612
gisei 6920
shitsumon 110532
shukufuku 87258
shitsumon 152622
gisei 11106
gisei 72887
shukufuku 78838
shukufuku 27046
renshuu 27764 31059
gisei 42763
renshuu 22401 49590
renshuu 3013 16138
shitsumon 3013
shitsumon 372058
shitsumon 279378
shitsumon 22401
shitsumon 279378
shukufuku 80035
shukufuku 63975
shukufuku 36676
renshuu 47874 3427
renshuu 72618 66142
gisei 87197
gisei 16411
shitsumon 275763
renshuu 1245 95067
renshuu 45378 16275
shukufuku 33055
shitsumon 174135
shitsumon 1245
shitsumon 176226
shukufuku 37702
renshuu 21960 32013
shukufuku 27340
shukufuku 40643
shitsumon 340896
shitsumon 174135
shukufu<...>
Output
15222
15222
84964
84964
187550
187550
274808
380692
380692
380692
380692
380692
561378
594433
594433
594433
700118
700118
845487
852583
964658
1004268
1004268
1291100
1291100
1291100
1302611
1395492
1395492
1395492
1543337
1543337
1543337
1643713
1691746
1821997
1948834
1948834
1948834
2058303
2058303
2172904
2223462
2350342
2350342
2350342
2350342
2429885
2567479
2567479
2567479
2567479
2646068
2646068
2649015
2649015
2760222
2760222
2930947
2979360
3080104
3080104
3082135
3082135
3082135
3082135
3082135
3082135
3082135
3082135
3082135
3082135
3200764
3394744
3436655
3524942
3524942
3524942
3524942
3524942
3610388
3610388
3610388
3610388
3610388
3697738
3697738
3766402
3856910
3856910
3940371
3940371
3940371
3940371
3940371
3988213
4048843
4048843
4048843
4048843
4048843
4331088
4457914
4457914
4457914
4457914
4725638
4725638
4771072
4824593
4906599
4906599
4906599
4906599
4906599
4906599
5191208
5191208
5191208
5308693
5388650
5418717
5455660
5455660
5455660
5534330
5567657
5691741
5903914
5903914
5903914
5<...>
Answer
Line:1Deal:gisei
Line:2Deal:renshuu
Line:3Deal:gisei
Line:4Deal:gisei
Line:5Deal:shukufuku
Line:6Deal:gisei
Line:7Deal:shitsumon
28825
Line:8Deal:gisei
Line:9Deal:shitsumon
28825
Line:10Deal:shukufuku
Line:11Deal:shukufuku
Line:12Deal:renshuu
Line:13Deal:gisei
Line:14Deal:shitsumon
62528
Line:15Deal:renshuu
Line:16Deal:shitsumon
98567
Line:17Deal:shukufuku
Line:18Deal:renshuu
Line:19Deal:shukufuku
Line:20Deal:gisei
Line:21Deal:renshuu
Line:22Deal:shitsumon
124709
Line:23Deal:gisei
Line:24Deal:shitsumon
124709
Line:25Deal:shukufuku
Line:26Deal:shitsumon
208833
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:shukufuku
Line:30Deal:shukufuku
Line:31Deal:renshuu
Line:32Deal:gisei
Line:33Deal:renshuu
Line:34Deal:renshuu
Line:35Deal:shitsumon
16138
Line:36Deal:shitsumon
358256
Line:37Deal:shitsumon
314717
Line:38Deal:shitsumon
49590
Line:39Deal:shitsumon
314717
Line:40Deal:shukufuku
Line:41Deal:shukufuku
Line:42Deal:shukufuku
Line:43Deal:renshuu
Line:44Deal:rens<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '15222'

#10

2ms / 8764KB / Wrong Answer
Input
987
renshuu 61934708 905150388
renshuu 336840762 400573059
gisei 44956124
renshuu 329275876 168923108
gisei 246007019
renshuu 41248128 117660467
shitsumon 627803905
shitsumon 352897851
shukufuku 599222485
shitsumon 627803905
shitsumon 41248128
shitsumon 352897851
gisei 30803095
gisei 507867235
gisei 679000520
shukufuku 112899448
shitsumon 1258918978
shitsumon 1845474755
gisei 257601368
renshuu 602679665 910363673
shukufuku 191349314
gisei 426281940
shitsumon 2476837053
gisei 360273653
gisei 586950696
renshuu 774996656 405073322
shukufuku 781022634
shitsumon 1976185954
renshuu 431633681 479924409
renshuu 447376386 890154838
shukufuku 43956719
shukufuku 460522943
shukufuku 462774978
gisei 125969985
shitsumon 900966641
shukufuku 56181965
gisei 693033257
gisei 987905324
renshuu 188568303 965916777
shitsumon 2581905222
shukufuku 364415210
shitsumon 4696935201
shitsumon 2238542247
shitsumon 4696935201
renshuu 629055828 99385118
renshuu 806312389 657832645
shukufuku 927<...>
Output
0
0
599222485
599222485
599222485
712121933
712121933
903471247
Answer
Line:1Deal:renshuu
Line:2Deal:renshuu
Line:3Deal:gisei
Line:4Deal:renshuu
Line:5Deal:gisei
Line:6Deal:renshuu
Line:7Deal:shitsumon
400573059
Line:8Deal:shitsumon
905150388
Line:9Deal:shukufuku
Line:10Deal:shitsumon
999795544
Line:11Deal:shitsumon
716882952
Line:12Deal:shitsumon
1504372873
Line:13Deal:gisei
Line:14Deal:gisei
Line:15Deal:gisei
Line:16Deal:shukufuku
Line:17Deal:shitsumon
829782400
Line:18Deal:shitsumon
1112694992
Line:19Deal:gisei
Line:20Deal:renshuu
Line:21Deal:shukufuku
Line:22Deal:gisei
Line:23Deal:shitsumon
1072394355
Line:24Deal:gisei
Line:25Deal:gisei
Line:26Deal:renshuu
Line:27Deal:shukufuku
Line:28Deal:shitsumon
1882735621
Line:29Deal:renshuu
Line:30Deal:renshuu
Line:31Deal:shukufuku
Line:32Deal:shukufuku
Line:33Deal:shukufuku
Line:34Deal:gisei
Line:35Deal:shitsumon
2153350596
Line:36Deal:shukufuku
Line:37Deal:gisei
Line:38Deal:gisei
Line:39Deal:renshuu
Line:40Deal:shitsumon
2209532561
Line:41Deal:shukufuku
Line:42Deal:shitsumon
319000<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '0'

#1

421ms / 8832KB / Wrong Answer
Input
88449
gisei 443
gisei 385
gisei 430
gisei 458
gisei 581
gisei 415
gisei 270
gisei 513
shukufuku 383
renshuu 970 127
shukufuku 722
shitsumon 970
renshuu 56 57
shitsumon 970
gisei 526
shukufuku 320
shitsumon 1496
gisei 488
shukufuku 244
gisei 218
renshuu 865 504
gisei 125
shukufuku 906
shukufuku 571
shukufuku 230
gisei 955
gisei 699
gisei 937
renshuu 776 888
renshuu 292 144
gisei 850
renshuu 893 951
shukufuku 568
renshuu 851 719
shukufuku 933
shitsumon 1142
shitsumon 4431
shukufuku 516
renshuu 526 251
shukufuku 270
shukufuku 727
shukufuku 291
gisei 592
gisei 733
renshuu 993 778
shitsumon 993
gisei 862
gisei 67
renshuu 73 979
renshuu 544 113
renshuu 657 627
gisei 250
renshuu 156 759
renshuu 421 674
gisei 455
gisei 474
shukufuku 269
shitsumon 1085
gisei 576
shitsumon 5635
renshuu 162 334
shukufuku 193
gisei 179
gisei 276
renshuu 928 558
gisei 930
shitsumon 5920
shukufuku 152
shitsumon 3684
shukufuku 464
renshuu 970 525
gisei 989
shukufuku 40<...>
Output
1105
1105
1425
4877
4877
6681
6950
6950
7143
7295
9585
10136
10489
11103
12490
12570
12570
14708
14708
14708
14708
14708
14708
14708
14708
14708
14708
14708
14708
15937
15937
15937
15937
16348
16758
16758
16758
17684
17684
20431
20431
20431
21243
21243
21705
21705
21705
21705
21705
22073
23550
23550
26869
27567
27816
27993
28353
28554
29012
29790
30631
30631
31041
32354
32354
32354
32354
32354
32354
32918
33827
33901
33901
35185
36081
36887
37109
37109
37109
38128
38128
38582
38639
38639
38804
39245
39245
39804
44449
44449
44449
44449
45257
46669
46669
46669
46669
46669
47393
47393
48037
48037
48037
50001
51188
51729
51749
52525
52763
52763
52870
52870
53403
53403
53403
53403
53403
53403
53750
54723
55173
56134
56134
58985
58985
63724
63881
63881
63881
63881
63881
64587
65058
65058
65058
65058
65058
65058
65058
66833
67389
67919
67954
67954
68483
69297
69297
69922
70981
70981
70981
70981
72865
72865
73517
74760
75242
75242
75804
75804
76701
76701
76701
76701
76701
76701
78724
80446
80446
81417
82928
83491
834<...>
Answer
Line:1Deal:gisei
Line:2Deal:gisei
Line:3Deal:gisei
Line:4Deal:gisei
Line:5Deal:gisei
Line:6Deal:gisei
Line:7Deal:gisei
Line:8Deal:gisei
Line:9Deal:shukufuku
Line:10Deal:renshuu
Line:11Deal:shukufuku
Line:12Deal:shitsumon
849
Line:13Deal:renshuu
Line:14Deal:shitsumon
849
Line:15Deal:gisei
Line:16Deal:shukufuku
Line:17Deal:shitsumon
1169
Line:18Deal:gisei
Line:19Deal:shukufuku
Line:20Deal:gisei
Line:21Deal:renshuu
Line:22Deal:gisei
Line:23Deal:shukufuku
Line:24Deal:shukufuku
Line:25Deal:shukufuku
Line:26Deal:gisei
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:renshuu
Line:30Deal:renshuu
Line:31Deal:gisei
Line:32Deal:renshuu
Line:33Deal:shukufuku
Line:34Deal:renshuu
Line:35Deal:shukufuku
Line:36Deal:shitsumon
1645
Line:37Deal:shitsumon
3712
Line:38Deal:shukufuku
Line:39Deal:renshuu
Line:40Deal:shukufuku
Line:41Deal:shukufuku
Line:42Deal:shukufuku
Line:43Deal:gisei
Line:44Deal:gisei
Line:45Deal:renshuu
Line:46Deal:shitsumon
778
Line:47Deal:gisei
Line:48Deal:g<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '1105'

#2

253ms / 8800KB / Wrong Answer
Input
68599
shukufuku 854
gisei 331
shukufuku 926
renshuu 920 881
shitsumon 920
shukufuku 684
shukufuku 853
renshuu 137 34
shukufuku 734
shitsumon 137
renshuu 756 754
shitsumon 137
renshuu 195 697
gisei 553
gisei 63
shukufuku 477
shukufuku 408
shitsumon 1372
shukufuku 888
shitsumon 1536
shukufuku 629
shitsumon 1372
renshuu 799 349
shukufuku 351
gisei 625
shitsumon 2161
shukufuku 305
shitsumon 1997
shukufuku 559
shitsumon 1997
gisei 943
shukufuku 729
gisei 847
gisei 269
renshuu 881 51
shukufuku 775
renshuu 793 428
shitsumon 3437
gisei 904
gisei 309
shukufuku 546
renshuu 122 444
renshuu 43 193
shitsumon 2094
gisei 222
renshuu 267 513
shitsumon 2228
shitsumon 5655
shitsumon 344
gisei 751
shitsumon 5669
shukufuku 366
renshuu 479 954
shitsumon 479
renshuu 482 977
gisei 731
shitsumon 1210
shitsumon 3798
shukufuku 800
gisei 533
renshuu 315 896
shukufuku 764
shitsumon 2359
renshuu 619 754
renshuu 616 959
renshuu 774 109
shukufuku 2
shitsumon 2359
shitsumo<...>
Output
1780
4051
4051
4936
5824
6453
6804
7109
7668
9172
9718
9718
9718
9718
9718
10084
10084
10084
11648
11650
11650
12410
12410
12410
14187
15084
15084
16095
17614
17948
17948
17948
17948
18172
18172
18172
18172
18710
18710
20103
20103
20103
20103
20103
20476
20476
20778
20778
20778
20778
20778
21311
21311
21311
21311
21311
22287
23187
23272
23298
23298
23298
23352
23352
25778
27822
27822
27822
28295
28720
28720
28720
28720
28720
28720
29270
29270
29270
29270
31142
32265
33169
33169
33169
33941
33941
33941
35160
36197
37570
39907
40020
40127
40127
41621
41621
41621
41621
41628
42195
42195
44501
44501
44501
44501
45254
45541
46323
46323
47826
48829
49041
49041
49041
51044
52515
52515
54008
54008
58327
58327
60485
60815
61420
61420
61420
61420
61420
61420
61420
61489
61489
63143
64062
64062
64062
65025
66986
67047
67047
67640
70054
70310
71296
71974
71974
72964
73301
73301
74189
75059
75059
75059
76269
76579
77361
78876
79566
79566
79596
79596
79596
79821
79821
81019
81019
82369
82850
83219
85588
85588
87132
89466
8<...>
Answer
Line:1Deal:shukufuku
Line:2Deal:gisei
Line:3Deal:shukufuku
Line:4Deal:renshuu
Line:5Deal:shitsumon
881
Line:6Deal:shukufuku
Line:7Deal:shukufuku
Line:8Deal:renshuu
Line:9Deal:shukufuku
Line:10Deal:shitsumon
768
Line:11Deal:renshuu
Line:12Deal:shitsumon
768
Line:13Deal:renshuu
Line:14Deal:gisei
Line:15Deal:gisei
Line:16Deal:shukufuku
Line:17Deal:shukufuku
Line:18Deal:shitsumon
1639
Line:19Deal:shukufuku
Line:20Deal:shitsumon
4925
Line:21Deal:shukufuku
Line:22Deal:shitsumon
3156
Line:23Deal:renshuu
Line:24Deal:shukufuku
Line:25Deal:gisei
Line:26Deal:shitsumon
5905
Line:27Deal:shukufuku
Line:28Deal:shitsumon
3812
Line:29Deal:shukufuku
Line:30Deal:shitsumon
4371
Line:31Deal:gisei
Line:32Deal:shukufuku
Line:33Deal:gisei
Line:34Deal:gisei
Line:35Deal:renshuu
Line:36Deal:shukufuku
Line:37Deal:renshuu
Line:38Deal:shitsumon
5889
Line:39Deal:gisei
Line:40Deal:gisei
Line:41Deal:shukufuku
Line:42Deal:renshuu
Line:43Deal:renshuu
Line:44Deal:shitsumon
1372
Line:45Deal:<...>
Checker Information
1st words differ - expected: 'Line:1Deal:shukufuku', found: '1780'

#3

366ms / 8904KB / Wrong Answer
Input
63323
gisei 549
gisei 304
renshuu 796 447
shitsumon 796
renshuu 878 34
shitsumon 796
renshuu 400 806
shitsumon 796
renshuu 919 30
shukufuku 840
shitsumon 796
shukufuku 739
shitsumon 400
shitsumon 878
renshuu 429 49
shukufuku 549
shitsumon 796
shitsumon 919
gisei 134
shukufuku 917
shukufuku 546
renshuu 563 108
renshuu 622 747
gisei 614
gisei 300
gisei 663
renshuu 47 315
renshuu 376 673
shitsumon 2111
renshuu 863 639
renshuu 664 856
shukufuku 506
shitsumon 2199
shukufuku 345
renshuu 857 496
shukufuku 360
renshuu 113 261
shukufuku 1000
gisei 170
shitsumon 546
gisei 864
gisei 982
gisei 255
renshuu 865 415
shukufuku 556
renshuu 507 816
gisei 184
shitsumon 4566
renshuu 518 113
renshuu 544 540
renshuu 283 514
shitsumon 544
renshuu 60 700
renshuu 397 718
shukufuku 647
renshuu 336 242
renshuu 701 41
shitsumon 3318
shitsumon 2831
shukufuku 439
shitsumon 397
renshuu 734 413
shitsumon 5085
shukufuku 733
gisei 711
shitsumon 1412
renshuu 318 77
shukufuku 7<...>
Output
0
0
0
840
1579
1579
2128
2128
3591
4097
5802
6358
6358
7005
7005
7444
7444
8177
8960
9859
10765
10765
12630
15921
17345
18513
18796
19463
19910
19910
19910
20193
20668
21622
21622
22018
24306
24306
26998
26998
26998
27337
27337
27337
27567
28014
29548
29548
29548
29548
30132
30132
33341
33341
33341
33341
33369
34396
34855
36365
36740
36740
36740
36740
38632
41075
41075
41600
41600
41600
41600
43127
43127
43224
43224
43224
43988
43988
43988
45716
47031
47031
47031
47854
47854
49388
49388
49388
49514
49514
49514
49514
49514
50300
52209
52729
52914
52914
54424
54424
54424
55243
55514
55689
55689
57034
57034
57142
57707
57707
57774
57774
58493
58493
58493
58493
59981
59981
60448
60448
62784
62784
62784
63623
63623
63623
64587
65831
68145
68145
68145
68520
68520
68520
68899
69286
70353
70353
70353
70353
71617
72574
72574
72574
73373
73373
73373
76284
76284
77361
77361
77361
78194
80436
81357
84990
84990
84990
85443
86122
86670
86670
87340
87340
88648
89390
89390
89390
89390
89390
89390
89949
90687
90687
91056
9189<...>
Answer
Line:1Deal:gisei
Line:2Deal:gisei
Line:3Deal:renshuu
Line:4Deal:shitsumon
447
Line:5Deal:renshuu
Line:6Deal:shitsumon
447
Line:7Deal:renshuu
Line:8Deal:shitsumon
447
Line:9Deal:renshuu
Line:10Deal:shukufuku
Line:11Deal:shitsumon
1287
Line:12Deal:shukufuku
Line:13Deal:shitsumon
2385
Line:14Deal:shitsumon
1613
Line:15Deal:renshuu
Line:16Deal:shukufuku
Line:17Deal:shitsumon
2575
Line:18Deal:shitsumon
2158
Line:19Deal:gisei
Line:20Deal:shukufuku
Line:21Deal:shukufuku
Line:22Deal:renshuu
Line:23Deal:renshuu
Line:24Deal:gisei
Line:25Deal:gisei
Line:26Deal:gisei
Line:27Deal:renshuu
Line:28Deal:renshuu
Line:29Deal:shitsumon
4397
Line:30Deal:renshuu
Line:31Deal:renshuu
Line:32Deal:shukufuku
Line:33Deal:shitsumon
1253
Line:34Deal:shukufuku
Line:35Deal:renshuu
Line:36Deal:shukufuku
Line:37Deal:renshuu
Line:38Deal:shukufuku
Line:39Deal:gisei
Line:40Deal:shitsumon
2884
Line:41Deal:gisei
Line:42Deal:gisei
Line:43Deal:gisei
Line:44Deal:renshuu
Line:45Deal:shukufuku
Lin<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '0'

#4

545ms / 8828KB / Wrong Answer
Input
91129
renshuu 5491 85887
shukufuku 80547
shitsumon 5491
gisei 69444
renshuu 59796 34976
shitsumon 59796
shitsumon 59796
shukufuku 47504
shukufuku 69039
renshuu 17055 95516
gisei 41513
shukufuku 90904
renshuu 32468 20515
renshuu 7054 46179
shukufuku 2228
shukufuku 56935
shitsumon 116448
shitsumon 58568
gisei 67393
gisei 21096
shukufuku 98238
shukufuku 30984
shukufuku 63102
renshuu 29762 43733
shitsumon 120957
shukufuku 26389
renshuu 40294 922
shukufuku 4328
shitsumon 204937
shukufuku 63317
shukufuku 18309
renshuu 39028 87845
shukufuku 14089
shukufuku 4292
renshuu 52849 71787
gisei 88691
shukufuku 92140
gisei 38445
shitsumon 274193
shitsumon 248093
shukufuku 42806
gisei 97303
shukufuku 25517
gisei 25396
gisei 85754
gisei 59481
shitsumon 434098
shitsumon 447919
shukufuku 86400
renshuu 21133 394
gisei 70334
shitsumon 518253
shukufuku 50884
gisei 99148
shukufuku 12646
shitsumon 603580
shukufuku 69032
gisei 99938
gisei 52649
shukufuku 11988
shitsumon 8126<...>
Output
80547
80547
80547
347157
347157
539481
570198
762345
762345
830668
830668
917068
980598
1061618
1061618
1092052
1092052
1092052
1153317
1245445
1245445
1343836
1435643
1515857
1515857
1515857
1515857
1554534
1658309
1720323
1750798
1750798
1750798
1844499
1844499
1940667
1940667
1945745
1945745
1945745
2065167
2163645
2246339
2246339
2246339
2246339
2280402
2320964
2320964
2320964
2320964
2323835
2323835
2328251
2418903
2418903
2474939
2529914
2529914
2529914
2559538
2559538
2559538
2618063
2676603
2676603
2676603
2676603
2841612
2937838
2937838
3153628
3350244
3389079
3543421
3548435
3607106
3607106
3741213
3831151
3975191
3975191
3975191
3975191
4334741
4495655
4541160
4541160
4541160
4541160
4541160
4625025
4625025
4661937
4661937
4661937
4661937
4732201
4828698
4830642
4956710
5001905
5001905
5001905
5040592
5040592
5268216
5268216
5309444
5342044
5342044
5432687
5432687
5469727
5604070
5638135
5686282
5686282
5686282
5686282
5686282
5686282
5686282
5803692
5803692
5857582
5857582
5861817
5861817
5861817
<...>
Answer
Line:1Deal:renshuu
Line:2Deal:shukufuku
Line:3Deal:shitsumon
166434
Line:4Deal:gisei
Line:5Deal:renshuu
Line:6Deal:shitsumon
34976
Line:7Deal:shitsumon
34976
Line:8Deal:shukufuku
Line:9Deal:shukufuku
Line:10Deal:renshuu
Line:11Deal:gisei
Line:12Deal:shukufuku
Line:13Deal:renshuu
Line:14Deal:renshuu
Line:15Deal:shukufuku
Line:16Deal:shukufuku
Line:17Deal:shitsumon
433044
Line:18Deal:shitsumon
245583
Line:19Deal:gisei
Line:20Deal:gisei
Line:21Deal:shukufuku
Line:22Deal:shukufuku
Line:23Deal:shukufuku
Line:24Deal:renshuu
Line:25Deal:shitsumon
272002
Line:26Deal:shukufuku
Line:27Deal:renshuu
Line:28Deal:shukufuku
Line:29Deal:shitsumon
656085
Line:30Deal:shukufuku
Line:31Deal:shukufuku
Line:32Deal:renshuu
Line:33Deal:shukufuku
Line:34Deal:shukufuku
Line:35Deal:renshuu
Line:36Deal:gisei
Line:37Deal:shukufuku
Line:38Deal:gisei
Line:39Deal:shitsumon
660771
Line:40Deal:shitsumon
494866
Line:41Deal:shukufuku
Line:42Deal:gisei
Line:43Deal:shukufuku
Line:44Deal:gisei
L<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '80547'

#5

417ms / 8836KB / Wrong Answer
Input
96251
shukufuku 96202
gisei 59124
shukufuku 2646
renshuu 9395 82178
renshuu 25307 34167
shukufuku 65113
shukufuku 96939
renshuu 7954 55420
shitsumon 25307
gisei 98614
gisei 3503
gisei 99500
renshuu 60574 47277
shitsumon 60574
shukufuku 75108
gisei 82872
renshuu 85764 25056
renshuu 66848 24062
shukufuku 86789
gisei 33434
shukufuku 52931
shukufuku 45240
shitsumon 327318
shukufuku 25537
shukufuku 72583
shitsumon 325877
shitsumon 176880
shitsumon 100282
renshuu 32987 36505
gisei 8657
gisei 59568
renshuu 48926 45438
gisei 90317
shukufuku 72342
shitsumon 258824
gisei 84379
renshuu 92197 73195
renshuu 66235 94768
shukufuku 63254
gisei 53593
shukufuku 1984
renshuu 41359 35339
gisei 44485
gisei 1268
shukufuku 14647
shitsumon 322968
shukufuku 2290
shitsumon 165581
shitsumon 519147
gisei 33449
gisei 29262
gisei 34255
renshuu 83645 91725
renshuu 21560 47651
gisei 39958
shitsumon 61518
shukufuku 91827
renshuu 59800 58388
shitsumon 512178
shukufuku 86911
shitsumo<...>
Output
260900
260900
520968
619088
619088
619088
691430
771315
773605
773605
773605
865432
952343
1040664
1040664
1040664
1040664
1054488
1054488
1054488
1054488
1173050
1206628
1294146
1360316
1428889
1502543
1502543
1603347
1950541
1950541
2027855
2027855
2170422
2170422
2170422
2170422
2170422
2170422
2170422
2170422
2170422
2173255
2173255
2173255
2299239
2299239
2299239
2424662
2424662
2424662
2581684
2770457
2770457
2770457
2770457
2823202
2823202
2823202
2823202
2823202
2914810
2914810
2921911
3147323
3147323
3202699
3260879
3260879
3364548
3461604
3461604
3461604
3561099
3561099
3561099
3561099
3648846
3738811
3753061
3753061
3980547
3980547
4104577
4104577
4104577
4203779
4203779
4203779
4233972
4233972
4270542
4270542
4414766
4578870
4578870
4578870
4578870
4627333
4627333
4713700
4713806
5025190
5073702
5073702
5092708
5092708
5092708
5150683
5194695
5218662
5218662
5218662
5408354
5408354
5482751
5767605
5767605
5896274
6140118
6140118
6140118
6203710
6203710
6203710
6252127
6321361
6480892
6480892
64808<...>
Answer
Line:1Deal:shukufuku
Line:2Deal:gisei
Line:3Deal:shukufuku
Line:4Deal:renshuu
Line:5Deal:renshuu
Line:6Deal:shukufuku
Line:7Deal:shukufuku
Line:8Deal:renshuu
Line:9Deal:shitsumon
196219
Line:10Deal:gisei
Line:11Deal:gisei
Line:12Deal:gisei
Line:13Deal:renshuu
Line:14Deal:shitsumon
47277
Line:15Deal:shukufuku
Line:16Deal:gisei
Line:17Deal:renshuu
Line:18Deal:renshuu
Line:19Deal:shukufuku
Line:20Deal:gisei
Line:21Deal:shukufuku
Line:22Deal:shukufuku
Line:23Deal:shitsumon
504298
Line:24Deal:shukufuku
Line:25Deal:shukufuku
Line:26Deal:shitsumon
413608
Line:27Deal:shitsumon
405465
Line:28Deal:shitsumon
307142
Line:29Deal:renshuu
Line:30Deal:gisei
Line:31Deal:gisei
Line:32Deal:renshuu
Line:33Deal:gisei
Line:34Deal:shukufuku
Line:35Deal:shitsumon
379484
Line:36Deal:gisei
Line:37Deal:renshuu
Line:38Deal:renshuu
Line:39Deal:shukufuku
Line:40Deal:gisei
Line:41Deal:shukufuku
Line:42Deal:renshuu
Line:43Deal:gisei
Line:44Deal:gisei
Line:45Deal:shukufuku
Line:46Deal:shits<...>
Checker Information
1st words differ - expected: 'Line:1Deal:shukufuku', found: '260900'

#6

492ms / 8752KB / Wrong Answer
Input
92067
shukufuku 93013
gisei 64504
shukufuku 3154
renshuu 28879 67654
shitsumon 28879
shitsumon 28879
gisei 4730
shitsumon 33609
shitsumon 33609
renshuu 51464 8274
shitsumon 33609
renshuu 11329 87129
shukufuku 5280
shukufuku 59010
renshuu 64280 71855
gisei 30530
shitsumon 81994
renshuu 63979 97736
gisei 96479
gisei 3967
shitsumon 142305
renshuu 66880 12256
renshuu 23121 77427
renshuu 47586 37046
renshuu 62376 51991
shukufuku 27653
shitsumon 47586
renshuu 70267 64901
shitsumon 195256
shukufuku 26007
shitsumon 62376
renshuu 61704 5582
gisei 94525
gisei 52729
renshuu 95616 81003
shitsumon 311679
shitsumon 208958
shitsumon 214134
renshuu 81601 3404
shukufuku 4049
shukufuku 60337
shitsumon 95616
shukufuku 70750
shukufuku 69015
shitsumon 311679
shukufuku 23490
gisei 37539
gisei 7875
renshuu 29626 99837
shitsumon 127015
gisei 15625
renshuu 5212 6458
shitsumon 372878
shukufuku 71193
shukufuku 88792
shukufuku 70541
gisei 73806
renshuu 50476 22199
shitsumon 4773<...>
Output
96167
96167
96167
96167
96167
160457
160457
188110
188110
214117
214117
214117
214117
278503
418268
441758
441758
672284
672284
826212
826212
826212
826212
896337
896337
896337
896337
938696
938696
938696
998374
998374
1013975
1106256
1191403
1191403
1282362
1282362
1346749
1346749
1346749
1346749
1346749
1346749
1346749
1346749
1507576
1573066
1573066
1716365
1716365
1716365
1716365
1794030
1946429
2110927
2110927
2110927
2110927
2110927
2519724
2599543
2599543
2599543
2697492
2697492
2785157
2850691
2850691
2924971
2984491
2984491
2984491
3113456
3113456
3113456
3113456
3113456
3113456
3118071
3417064
3541723
3541723
3562444
3570133
3570133
3570133
3570133
3652534
3652534
3743536
3849385
3935258
3935258
3996763
4009695
4050250
4050250
4144380
4201655
4201655
4288808
4590377
4687696
4728731
4728731
4800698
4995028
5023206
5280661
5280661
5280661
5419462
5419462
5419462
5735725
5834952
5901677
5917293
5917293
5917293
6003307
6088496
6088496
6088496
6088496
6118563
6118563
6349283
6349283
6365846
6460002
65916<...>
Answer
Line:1Deal:shukufuku
Line:2Deal:gisei
Line:3Deal:shukufuku
Line:4Deal:renshuu
Line:5Deal:shitsumon
67654
Line:6Deal:shitsumon
67654
Line:7Deal:gisei
Line:8Deal:shitsumon
67654
Line:9Deal:shitsumon
67654
Line:10Deal:renshuu
Line:11Deal:shitsumon
67654
Line:12Deal:renshuu
Line:13Deal:shukufuku
Line:14Deal:shukufuku
Line:15Deal:renshuu
Line:16Deal:gisei
Line:17Deal:shitsumon
72564
Line:18Deal:renshuu
Line:19Deal:gisei
Line:20Deal:gisei
Line:21Deal:shitsumon
151419
Line:22Deal:renshuu
Line:23Deal:renshuu
Line:24Deal:renshuu
Line:25Deal:renshuu
Line:26Deal:shukufuku
Line:27Deal:shitsumon
64699
Line:28Deal:renshuu
Line:29Deal:shitsumon
99508
Line:30Deal:shukufuku
Line:31Deal:shitsumon
105651
Line:32Deal:renshuu
Line:33Deal:gisei
Line:34Deal:gisei
Line:35Deal:renshuu
Line:36Deal:shitsumon
151396
Line:37Deal:shitsumon
5582
Line:38Deal:shitsumon
65916
Line:39Deal:renshuu
Line:40Deal:shukufuku
Line:41Deal:shukufuku
Line:42Deal:shitsumon
145389
Line:43Deal:shukufuk<...>
Checker Information
1st words differ - expected: 'Line:1Deal:shukufuku', found: '96167'

#7

66ms / 8820KB / Wrong Answer
Input
99924
shukufuku 461671
renshuu 858566 101319
gisei 807682
shukufuku 138394
gisei 361559
renshuu 441317 211781
gisei 256235
shitsumon 697552
gisei 658252
shitsumon 2942294
shitsumon 2942294
shukufuku 522624
shukufuku 574412
shukufuku 739337
shukufuku 833332
gisei 494084
shitsumon 3436378
renshuu 519211 459366
gisei 130615
renshuu 617455 747453
shitsumon 1980503
renshuu 511109 905908
gisei 203463
shitsumon 714572
renshuu 171714 67367
shitsumon 853289
shukufuku 162525
gisei 1741
gisei 256739
shitsumon 973052
renshuu 864487 957941
shitsumon 973052
renshuu 788241 6513
shitsumon 430194
shukufuku 457410
renshuu 307921 501440
renshuu 363584 598283
shitsumon 1079398
shukufuku 327466
shukufuku 7436
gisei 645117
renshuu 458489 539449
shitsumon 458489
gisei 154392
gisei 998634
gisei 168226
shukufuku 372259
shukufuku 187975
shukufuku 901284
renshuu 664334 342869
renshuu 679507 861714
shukufuku 594695
gisei 344544
shukufuku 175547
shukufuku 531699
shitsumon 3283965
s<...>
Output
600065
600065
600065
3269770
3269770
3269770
3269770
3432295
3432295
3432295
3889705
4224607
6988066
6988066
8710703
8710703
9600873
9600873
9600873
9600873
9600873
10122982
12233663
12233663
13418431
14274382
14274382
14274382
14274382
14274382
14274382
15147796
15218512
15218512
15218512
16161854
17066683
18216652
18743908
18743908
19987413
20607077
21947257
21947257
21947257
23212510
23212510
24348131
24348131
24348131
25505715
25505715
25505715
25854442
25854442
26907279
28290179
29244999
30206595
30206595
31075222
31238862
31238862
32141036
32141036
32141036
32141036
34106408
34914841
34914841
34914841
34914841
34914841
34914841
35912906
38064439
39682468
40166606
40166606
41305385
42131467
42131467
42131467
42131467
42131467
43846901
43846901
43846901
44457471
45478629
45478629
46129744
46129744
47819483
47819483
49215670
49953144
49953144
50295728
51292948
51292948
53379267
53379267
53379267
53379267
54018747
54308466
54308466
55554393
57543455
57954977
58616438
59340972
60017229
60017229
60017229
6001<...>
Answer
Line:1Deal:shukufuku
Line:2Deal:renshuu
Line:3Deal:gisei
Line:4Deal:shukufuku
Line:5Deal:gisei
Line:6Deal:renshuu
Line:7Deal:gisei
Line:8Deal:shitsumon
211781
Line:9Deal:gisei
Line:10Deal:shitsumon
239713
Line:11Deal:shitsumon
239713
Line:12Deal:shukufuku
Line:13Deal:shukufuku
Line:14Deal:shukufuku
Line:15Deal:shukufuku
Line:16Deal:gisei
Line:17Deal:shitsumon
2909418
Line:18Deal:renshuu
Line:19Deal:gisei
Line:20Deal:renshuu
Line:21Deal:shitsumon
2881486
Line:22Deal:renshuu
Line:23Deal:gisei
Line:24Deal:shitsumon
905908
Line:25Deal:renshuu
Line:26Deal:shitsumon
459366
Line:27Deal:shukufuku
Line:28Deal:gisei
Line:29Deal:gisei
Line:30Deal:shitsumon
1068433
Line:31Deal:renshuu
Line:32Deal:shitsumon
1068433
Line:33Deal:renshuu
Line:34Deal:shitsumon
229892
Line:35Deal:shukufuku
Line:36Deal:renshuu
Line:37Deal:renshuu
Line:38Deal:shitsumon
1367388
Line:39Deal:shukufuku
Line:40Deal:shukufuku
Line:41Deal:gisei
Line:42Deal:renshuu
Line:43Deal:shitsumon
539449
Line:<...>
Checker Information
1st words differ - expected: 'Line:1Deal:shukufuku', found: '600065'

#8

14ms / 8876KB / Wrong Answer
Input
90556
renshuu 3526907 9332233
shukufuku 3495404
gisei 5749812
shukufuku 8808227
shukufuku 1974741
shukufuku 3189444
renshuu 6824458 1494377
shukufuku 6451915
shukufuku 7509126
shitsumon 6824458
shitsumon 6824458
gisei 4740733
gisei 8881210
shukufuku 1749952
renshuu 9984144 1383112
renshuu 437968 1416375
shitsumon 9984144
renshuu 6026071 9766918
shukufuku 1920020
shukufuku 1141106
renshuu 6466976 1279372
gisei 6898885
shitsumon 12924956
shitsumon 12924956
shukufuku 3060292
gisei 9206304
gisei 3928858
renshuu 968736 8831038
renshuu 5393319 1601355
shukufuku 9386062
renshuu 5770702 6991586
gisei 1473964
gisei 54630
shukufuku 4592576
gisei 2763309
shitsumon 30792926
shukufuku 7292848
renshuu 1211068 638932
shitsumon 30352021
renshuu 3907605 4178394
shitsumon 30792926
renshuu 4046394 855885
renshuu 9528431 9889691
gisei 5039988
gisei 1368433
shitsumon 53633033
renshuu 774676 8934141
renshuu 6464706 7545194
gisei 4198832
gisei 7450081
shukufuku 9528996
shukufuku 6<...>
Output
31428857
31428857
33178809
36239935
36239935
53278865
60571713
60571713
60571713
77303572
78799890
83346888
88809016
110589434
110589434
118331161
118331161
135498166
140050182
142964296
143286138
143286138
143286138
149115882
152106810
152106810
152106810
160264216
191790478
191790478
191790478
200327783
200327783
200327783
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
210783085
217769374
225044511
249052329
249052329
257847137
257847137
257847137
267843079
271300611
271300611
271300611
273208940
273208940
275508030
292058517
292058517
297106990
306583683
306583683
306583683
306583683
306583683
306583683
306583683
316278153
316278153
321044974
333120791
340549434
340549434
340549434
348620277
354263532
354263532
398197452
450725546
450725546
450725546
450725546
452699476
457522539
457522539
457522539
457522539
457522539
457522539
474578460
481135622
481135622
481135622
481135622
491072349
491072349
498046140
498550489
498550489
5073071<...>
Answer
Line:1Deal:renshuu
Line:2Deal:shukufuku
Line:3Deal:gisei
Line:4Deal:shukufuku
Line:5Deal:shukufuku
Line:6Deal:shukufuku
Line:7Deal:renshuu
Line:8Deal:shukufuku
Line:9Deal:shukufuku
Line:10Deal:shitsumon
15455418
Line:11Deal:shitsumon
15455418
Line:12Deal:gisei
Line:13Deal:gisei
Line:14Deal:shukufuku
Line:15Deal:renshuu
Line:16Deal:renshuu
Line:17Deal:shitsumon
1383112
Line:18Deal:renshuu
Line:19Deal:shukufuku
Line:20Deal:shukufuku
Line:21Deal:renshuu
Line:22Deal:gisei
Line:23Deal:shitsumon
12828044
Line:24Deal:shitsumon
12828044
Line:25Deal:shukufuku
Line:26Deal:gisei
Line:27Deal:gisei
Line:28Deal:renshuu
Line:29Deal:renshuu
Line:30Deal:shukufuku
Line:31Deal:renshuu
Line:32Deal:gisei
Line:33Deal:gisei
Line:34Deal:shukufuku
Line:35Deal:gisei
Line:36Deal:shitsumon
18318302
Line:37Deal:shukufuku
Line:38Deal:renshuu
Line:39Deal:shitsumon
37159822
Line:40Deal:renshuu
Line:41Deal:shitsumon
25611150
Line:42Deal:renshuu
Line:43Deal:renshuu
Line:44Deal:gisei
Line:45D<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '31428857'

#9

7ms / 8836KB / Wrong Answer
Input
93252
renshuu 24451250 48067415
gisei 26232522
shitsumon 50683772
shukufuku 52329892
renshuu 44779955 55035055
shitsumon 50683772
shitsumon 50683772
shukufuku 69725958
renshuu 40492106 90828452
renshuu 63904865 26314152
shukufuku 20869414
shitsumon 40492106
gisei 83242854
renshuu 4037705 30755814
shitsumon 133926626
shukufuku 90019301
shukufuku 38024796
shukufuku 69890264
shukufuku 95326319
renshuu 72433421 17809165
gisei 94179458
renshuu 55752052 17678572
shukufuku 48003907
shukufuku 51455866
shukufuku 22523012
shitsumon 55752052
gisei 26759968
gisei 21051346
gisei 98896624
shukufuku 54760992
shitsumon 374814022
gisei 28603444
renshuu 52547035 92677283
gisei 10146651
shitsumon 352070912
shitsumon 426785210
gisei 11761470
gisei 4008433
gisei 58998615
shitsumon 501553728
gisei 24371147
shitsumon 512703782
shukufuku 96880485
shitsumon 506799965
renshuu 52963218 67362603
gisei 11170146
gisei 49776527
renshuu 134895 40268989
gisei 29564238
shitsumon 29699133
rens<...>
Output
0
52329892
52329892
142925264
142925264
558168729
612929721
612929721
612929721
612929721
612929721
709810206
709810206
709810206
709810206
712010787
833915122
833915122
893385667
893385667
900034383
915187593
984085932
984085932
1011713005
1205792248
1205792248
1205792248
1265684394
1265684394
1335016480
1408569410
1411227077
1545215746
1556077407
1634301963
1651665258
1651665258
1651665258
1735697466
1735697466
1802038596
1802038596
Answer
Line:1Deal:renshuu
Line:2Deal:gisei
Line:3Deal:shitsumon
48067415
Line:4Deal:shukufuku
Line:5Deal:renshuu
Line:6Deal:shitsumon
100397307
Line:7Deal:shitsumon
100397307
Line:8Deal:shukufuku
Line:9Deal:renshuu
Line:10Deal:renshuu
Line:11Deal:shukufuku
Line:12Deal:shitsumon
111697866
Line:13Deal:gisei
Line:14Deal:renshuu
Line:15Deal:shitsumon
190992679
Line:16Deal:shukufuku
Line:17Deal:shukufuku
Line:18Deal:shukufuku
Line:19Deal:shukufuku
Line:20Deal:renshuu
Line:21Deal:gisei
Line:22Deal:renshuu
Line:23Deal:shukufuku
Line:24Deal:shukufuku
Line:25Deal:shukufuku
Line:26Deal:shitsumon
139661357
Line:27Deal:gisei
Line:28Deal:gisei
Line:29Deal:gisei
Line:30Deal:shukufuku
Line:31Deal:shitsumon
660997136
Line:32Deal:gisei
Line:33Deal:renshuu
Line:34Deal:gisei
Line:35Deal:shitsumon
194552942
Line:36Deal:shitsumon
517188023
Line:37Deal:gisei
Line:38Deal:gisei
Line:39Deal:gisei
Line:40Deal:shitsumon
517188023
Line:41Deal:gisei
Line:42Deal:shitsumon
660997136
Line:43Deal<...>
Checker Information
1st words differ - expected: 'Line:1Deal:renshuu', found: '0'

#10

7ms / 8788KB / Wrong Answer
Input
93311
gisei 353609609
renshuu 958369625 877623443
shitsumon 958369625
gisei 181294537
renshuu 591462718 395794779
renshuu 404094663 609307133
renshuu 812742913 160790978
shukufuku 731071024
shitsumon 812742913
gisei 348204236
shukufuku 517579975
shukufuku 380268281
gisei 210881651
renshuu 439694225 778787211
renshuu 675044304 919599867
gisei 424620512
shukufuku 260331552
gisei 13753017
gisei 196483418
shitsumon 2006685747
renshuu 703994873 777480809
shitsumon 703994873
shitsumon 1074551172
shitsumon 2006685747
shitsumon 2333606996
shitsumon 1598037497
shukufuku 189158014
shukufuku 761132579
shitsumon 2333606996
shukufuku 881917666
shukufuku 889150833
gisei 651938118
renshuu 722660207 95237394
shukufuku 880942776
shitsumon 2658623865
shitsumon 2249975615
renshuu 34262584 361828290
shitsumon 1961839369
shitsumon 2437343670
shitsumon 1726489290
shukufuku 205210989
renshuu 468949635 687341768
shitsumon 1961839369
shitsumon 1726489290
gisei 596826630
gisei 229025664
s<...>
Output
0
731071024
1889250832
1889250832
1889250832
1889250832
1889250832
Answer
Line:1Deal:gisei
Line:2Deal:renshuu
Line:3Deal:shitsumon
877623443
Line:4Deal:gisei
Line:5Deal:renshuu
Line:6Deal:renshuu
Line:7Deal:renshuu
Line:8Deal:shukufuku
Line:9Deal:shitsumon
891862002
Line:10Deal:gisei
Line:11Deal:shukufuku
Line:12Deal:shukufuku
Line:13Deal:gisei
Line:14Deal:renshuu
Line:15Deal:renshuu
Line:16Deal:gisei
Line:17Deal:shukufuku
Line:18Deal:gisei
Line:19Deal:gisei
Line:20Deal:shitsumon
2050041810
Line:21Deal:renshuu
Line:22Deal:shitsumon
777480809
Line:23Deal:shitsumon
1039118763
Line:24Deal:shitsumon
2050041810
Line:25Deal:shitsumon
2766874275
Line:26Deal:shitsumon
2498557965
Line:27Deal:shukufuku
Line:28Deal:shukufuku
Line:29Deal:shitsumon
3717164868
Line:30Deal:shukufuku
Line:31Deal:shukufuku
Line:32Deal:gisei
Line:33Deal:renshuu
Line:34Deal:shukufuku
Line:35Deal:shitsumon
5652343678
Line:36Deal:shitsumon
6100859833
Line:37Deal:renshuu
Line:38Deal:shitsumon
4782233287
Line:39Deal:shitsumon
5887347479
Line:40Deal:shitsumon
4641420631<...>
Checker Information
1st words differ - expected: 'Line:1Deal:gisei', found: '0'
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <queue>
#include <map>
#include <string.h>
#include <math.h>
#include <stdio.h>
#include <deque>
#include <bits/stdc++.h>
//#include "testlib.h"
using namespace std;
#define ll long long
#define pii pair<int,int>
#define qi ios::sync_with_stdio(0)

bool debug=true;

/*    *************************************
	  * Written in New Computer           *
	  * The following code belongs to     *
	  * XiaoGeNintendo of HellHoleStudios *
	  *************************************
*/
template<typename T1,typename T2>ostream& operator<<(ostream& os,pair<T1,T2> ptt){
	os<<ptt.first<<","<<ptt.second;
	return os;
}
template<typename T>ostream& operator<<(ostream& os,vector<T> vt){
	os<<"{";
	for(int i=0;i<vt.size();i++){
		os<<vt[i]<<" ";
	}
	os<<"}";
	return os;
}

ll deltax=0,deltay=0;
map<int,ll> mp;

int main(){
	qi;
	int q;
	cin>>q;
	while(q--){
		string s;
		cin>>s;
		if(s=="renshuu"){
			ll x,y;
			cin>>x>>y;
			mp[x-deltax]=y-deltay;
		}else if(s=="shitsumon"){
			int x;
			cin>>x;
			cout<<deltay<<endl;
		}else if(s=="gisei"){
			int x;
			cin>>x;
			deltax+=x;
		}else if(s=="shukufuku"){
			int x;
			cin>>x;
			deltay+=x;
		}
	}
	
	return 0;
}