#96

by asd

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

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


#1

7ms / 8836KB / 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
36
154
110
219
306
277
415
253
520
411
584
154
507
95
481
685
555
698
209
115
141
286
398
465
540
616
616
1298
1525
762
655
1124
783
1501
1377
1750
849
467
241
1997
362
623
1980
2115
1594
624
571
279
801
2430
329
2263
36
1709
546
2036
291
2579
846
96
713
686
1410
2394
2745
1033
3050
1719
419
405
3621
303
1269
1769
1913
2686
767
2136
4530
2159
3764
2573
637
1837
4040
4208
4934
1014
4863
4395
4514
2211
1855
2221
449
4146
2741
5030
5341
297
681
1399
394
2941
338
5314
5458
2395
4898
3699
2944
741
131
3297
3470
1211
1648
2453
4996
4156
2662
1405
5658
1364
3047
3897
727
5935
2649
3187
249
5733
5733
1105
5483
365
662
4297
1042
5907
6357
4329
545
1202
1508
636
4157
4451
4855
1311
3182
408
4143
2124
4716
707
1493
441
6174
1520
6616
2287
4391
4708
1758
3611
4027
2238
6356
3150
6289
1973
5453
6559
1430
5429
5163
1005
7095
449
4622
2838
3780
6695
7516
1734
2572
2090
5680
6204
5666
1644
4962
5315
1067
7400
3977
1525
1616
2106
7089
134
3749
3771
2400
3952
643
2164
3217
6118
2883
4494
4523
3988
3016
4523
1284
2632
1792
6762<...>
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: '36'

#2

8ms / 8836KB / 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
85
71
228
151
57
70
70
93
94
344
289
258
311
295
389
238
70
561
220
388
390
614
495
583
127
758
776
341
1120
30
1134
871
915
1034
1114
1029
686
1711
366
791
1730
1370
1585
1184
351
1021
1246
1798
50
428
72
438
203
1307
532
1525
77
1308
2277
2365
231
2403
2522
1644
2619
2793
2141
95
78
876
1053
2663
972
1256
3290
1386
3290
527
3260
3415
3243
975
3137
853
2354
3608
2175
1542
2319
185
299
1404
3932
275
1456
654
252
3699
3312
4403
1590
364
100
4589
1726
322
2404
1828
4274
4391
2352
873
4752
1962
4580
4603
1166
1208
2706
4656
787
150
1335
2250
966
2252
4794
989
244
1566
1341
925
5358
4388
801
1568
2226
545
5896
1675
1816
1631
4157
1476
1448
6154
4803
864
3574
4437
285
6333
6427
2560
5786
3976
2555
4982
949
3275
2826
3023
304
3204
1541
3174
525
2056
6418
520
5639
3313
546
7380
5867
5476
3435
114
5055
3049
2907
5991
7899
6707
5225
5344
2277
3926
2898
2039
1454
988
2777
966
6891
95
6139
7017
4975
4255
2069
3364
1465
2069
2502
5858
4520
1630
5440
7499
2741
2617
1856
3515
5482
7797
3128
2562
8588
530
4811
2650
5636
971<...>
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: '85'

#3

6ms / 8904KB / 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
98
98
153
134
211
134
368
212
625
625
708
842
647
842
474
938
299
999
1186
101
1272
618
349
903
1007
699
498
129
1344
1050
1050
625
613
1551
1285
1551
92
1592
1547
1512
1709
1622
1978
1930
1263
805
1353
2249
2263
1535
1470
447
566
1814
1270
1203
1094
1096
1192
1631
847
17
144
2681
324
1405
1932
2704
2137
3033
1143
1372
1886
366
2430
1900
1715
1655
3062
3219
1337
1458
1478
1589
1567
3170
579
3490
922
951
603
4188
4501
1851
4315
2959
3182
1509
2184
4265
1928
3037
357
2308
3521
4282
2221
5423
3756
163
3600
4039
6036
2825
4924
4373
1442
3519
1587
4550
3306
3680
3427
3188
3234
4348
3306
496
5155
4520
5991
2750
2925
4137
180
6498
4838
2769
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: '98'

#4

7ms / 8780KB / 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
172
127
172
172
127
219
90
90
66
269
140
66
173
99
17
162
50
162
211
435
556
64
722
574
212
564
53
235
658
103
211
765
300
859
1144
994
722
343
611
163
1681
1162
210
1689
1287
1620
304
1206
450
1809
191
1948
2127
1580
2066
1366
1531
1479
1499
1481
1210
765
2229
614
1931
685
1353
377
1964
246
2270
2354
652
1962
2883
2409
885
263
2344
1140
2502
1374
3107
1805
1904
3516
3051
1461
2669
2932
2976
3231
3842
2452
124
502
3278
3456
3625
3291
1888
2458
4175
4179
506
1200
220
2383
4125
2301
4241
1668
4861
5009
4475
1533
949
4514
3722
2302
2915
4880
1582
5642
2301
1821
3792
1949
3251
2210
1195
665
977
4507
4907
4760
5357
5831
5717
5344
4306
1160
4532
2060
1423
774
1931
4578
1207
953
3359
4842
2912
3553
1694
3574
6202
1877
4008
4501
518
2047
5459
2907
5151
1811
7470
6156
7315
3210
3210
1304
4759
895
4277
7441
1872
2370
2814
7320
2935
7107
7462
2553
2766
5490
7322
7885
4162
4970
4825
5729
2287
7636
8112
8417
2124
2918
4641
7273
3075
3791
3264
1751
4365
1344
3001
6060
8496
9781
539
10191
6028
8734
3857
5416
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: '172'

#5

6ms / 8756KB / 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
25
109
109
152
77
15
77
15
374
98
70
149
226
89
67
89
507
315
285
107
210
311
356
399
321
817
445
584
723
814
787
631
316
1267
1292
1298
684
1344
1973
1642
2023
2041
1822
2079
2067
2356
967
2267
2058
2066
2225
2040
2011
1033
2171
2690
472
879
2194
1141
2367
2852
2182
387
320
2338
2724
1237
817
1801
3199
3085
3252
2835
3680
3341
3063
1282
385
3625
3948
3722
3528
3604
3851
4141
4313
4381
4755
1278
3517
1486
4727
4516
2785
1718
4566
507
3690
2321
4936
5095
1324
5289
5300
5354
2727
177
5387
5387
3297
5154
1552
5887
615
3616
3998
5722
4120
5215
2327
4386
150
4035
973
5561
6179
2424
3368
6383
366
1188
7058
6885
6560
5692
2643
6956
7148
7226
4205
1541
3699
7782
5010
3825
837
1654
7856
1291
7904
1246
3530
7740
5575
2033
2790
7921
1998
1286
8696
9029
712
4146
4801
3643
3467
5039
6509
150
1370
8999
9479
588
9544
8146
8146
9175
4375
2034
937
8426
8950
5823
6601
1049
5631
10284
10435
10520
1581
1956
10482
785
8822
6120
5005
8777
8187
8898
10897
2304
2302
5705
4210
3229
4798
300
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: '25'

#6

6ms / 8788KB / 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
614
638
2408
826
826
484
210
2649
511
6185
1458
6701
3088
6476
5866
6373
8838
634
10928
10028
2307
7357
2520
8881
218
218
1329
3922
15936
17129
12522
2614
13963
18655
7277
16294
16978
809
17485
5865
9260
1794
1984
5425
3031
3492
7036
17995
28851
10791
12293
23488
13689
11858
15331
1227
20576
7479
38804
18180
11117
29082
34077
31812
37548
36531
22127
13661
24353
23291
41337
31439
19129
45433
23652
28344
27658
7300
18377
45130
4001
31328
48301
29965
32004
30516
30617
30218
32200
31692
43678
33496
26623
45621
35910
37017
12207
46540
17393
11697
52996
2952
35214
15317
17269
42746
38132
46631
55424
24222
48810
7673
38918
68420
49499
19122
32743
46007
57535
20547
54609
681
72353
51354
68913
45879
3431
34189
14562
10205
53563
47824
40481
47769
72857
12807
33260
39744
58025
6939
69830
22664
57718
59662
58457
8605
52683
47104
64808
33938
21467
65935
77048
7404
77211
34891
54170
39273
23489
35818
23340
21226
55
71230
33392
74043
3413
31583
37787
79829
4822
22973
8301
63371
37637
71200
19254
47459
20440
66425
49785
2751<...>
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: '614'

#7

7ms / 8832KB / 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
1416
452
89
89
452
118
2143
1328
1630
1630
4787
5688
2100
2989
6142
931
1660
3668
961
421
1251
608
1191
6073
5245
7526
884
4646
3821
3863
10170
4052
10002
6356
1716
13391
9391
13222
16630
4937
13168
10980
10693
11875
12319
16832
14158
5759
7297
12198
5294
6125
18056
2175
19738
17387
20567
1768
8074
3219
27318
24753
12056
6799
11010
15117
21558
4689
5651
11811
3565
28508
29379
22149
16852
5704
25377
3990
20092
15472
30315
17117
3232
29065
35421
30744
16070
7863
31964
20757
38392
35600
21406
12012
36261
2148
17754
7751
11644
12011
26934
14965
37851
19080
37920
7885
5991
33527
30464
7577
9083
1161
9064
30923
44730
6246
11957
12019
17740
30836
25001
30734
9744
22063
44486
17084
39023
3818
15418
14429
20169
24798
32812
23277
4042
23530
45887
13751
16791
27079
16410
27194
9452
27463
49160
51178
51178
56446
53482
53278
61091
60781
32187
67080
21297
68469
21715
1976
55660
30098
66811
37834
42530
23058
35619
2058
51865
43086
45106
73459
29389
75184
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: '1416'

#8

12ms / 8876KB / 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
2593
2982
3508
358
1312
918
1412
3508
4997
314
314
314
32
2018
1317
2958
1752
4075
4335
2149
3679
6532
5048
912
12839
10485
10077
1096
2005
1096
12851
12032
9787
10990
8241
11372
11386
8241
14546
5824
12641
13361
5362
14852
7510
15493
18486
6993
17551
16984
15021
17581
17581
11039
2851
11862
1706
2904
19186
23099
20395
13852
5753
9388
24369
9076
27610
22455
23729
1238
9467
10396
17584
29937
34555
21599
31641
15164
15583
4046
8939
33073
17772
18364
18432
23273
28228
39445
27267
21468
3722
7808
29498
40214
20092
7573
42130
25423
13953
47917
14596
50860
33208
30210
30184
32446
51364
23358
3174
49766
28139
54620
31935
49015
23408
52478
42609
15796
40184
10421
25125
16496
35224
41578
31629
52418
33076
58905
48360
40325
43174
57408
60226
22621
42213
49652
42634
4066
46458
51033
51812
25576
31178
37578
48612
10099
29256
21204
8487
14673
43859
25972
22086
41109
61385
33584
34583
14853
5103
56775
39952
21082
76151
41085
62324
64743
10897
72381
88335
66623
11903
55119
67388
30727
11034
64288
16327
16071
58616
78826
261<...>
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: '2593'

#9

7ms / 8744KB / 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
28825
28825
62528
98567
124709
124709
208833
16138
358256
314717
49590
314717
449376
244800
128122
99197
637277
350485
823051
866186
600104
1017871
509032
745997
1268664
502972
744660
1045859
850389
1030938
753061
340118
753061
434957
1579744
1490895
395012
272481
964098
1995462
1995462
648550
1293328
1567151
774190
1059301
1855106
1561146
2501504
173478
1784288
2101168
1661332
2623632
2182704
2317913
1891483
208344
2000813
672499
733603
30440
2294007
85425
62817
735634
511180
318375
1099770
3095738
511180
779778
3088762
3328769
2836533
93851
3160388
1178441
1914392
484716
3623991
3245834
1058510
2407169
1704103
1791453
1582318
174843
247752
3744908
3609269
921053
1388493
890707
3445135
3521902
574797
439685
2372490
659235
1696145
1295783
921809
3589175
1767117
751406
400807
3049285
262681
377799
581768
1600759
1363181
1401774
4843758
3352777
37099
1147036
4826654
991938
5322675
5054163
638589
4672469
1925107
1612438
2784628
5146638
2360496
1063663
730035
3597053
5588354
1139880
2568164
121582
2579571
604524
<...>
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: '28825'

#10

3ms / 8828KB / 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
400573059
905150388
999795544
716882952
1504372873
829782400
1112694992
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: '400573059'

#1

405ms / 8876KB / 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
849
849
1169
1645
3712
778
1028
4462
2001
727
8537
4434
2108
7871
11442
11405
818
2308
9566
2723
8786
9566
12220
1707
138
669
2723
8805
13543
9930
1367
1652
1342
10294
13533
11616
10190
646
11099
3393
13197
5835
6647
5796
4077
18480
16003
20540
15137
6688
5968
6436
12273
456
705
14845
7971
7655
2882
854
8617
9732
13413
25786
31189
25786
11479
18299
27212
27015
12980
12305
12059
3203
21485
9925
24108
20071
15708
11998
1560
9646
24043
21525
17403
20817
24828
26027
43401
23550
31448
4659
23243
30443
24655
8775
32099
40967
24881
42251
20936
45612
46872
11648
45285
4758
33321
50037
8445
31167
11037
10716
902
16835
19670
32528
5558
47701
21907
1048
33577
3587
55878
36971
41871
25830
36780
34961
11793
19563
34945
600
52658
48779
45571
49673
43216
43216
62570
16844
20418
1531
52231
61947
47636
5310
16750
2854
26663
21340
24010
48967
59088
5342
23026
10947
39082
48145
48707
14197
55105
9187
62416
59587
70999
12981
19236
79398
59571
49574
11955
61649
15652
47952
36856
89101
73604
20591
19848
69317
69048
68940
70347
391<...>
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: '849'

#2

331ms / 8852KB / 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
881
768
768
1639
4925
3156
5905
3812
4371
5889
1372
974
8819
444
3614
954
954
1738
2374
2376
756
3303
9127
6306
10833
5559
5954
6890
5731
3039
14665
14665
7259
9042
9826
4980
12068
7816
3655
11359
3036
316
13999
950
17179
11369
6254
3711
11573
11253
17424
12204
9772
370
4244
605
1008
2481
12583
11415
13773
3545
6410
2395
19674
7218
15939
7255
5964
11653
7634
7422
8205
15528
5839
25916
8666
9113
9840
16233
12512
16042
10288
16102
18886
30644
5677
13881
27067
28463
18821
19863
18829
25072
26715
12667
30932
27097
32498
25253
8990
9894
4834
23415
3717
28127
16671
4745
26536
28073
33774
9155
39516
48142
40355
31995
35918
45264
14341
12869
43272
7190
11893
33781
40900
49881
52290
32466
17157
40463
40922
21773
42576
52179
35513
8642
45272
49859
567
49920
53116
39562
1161
10758
44335
18679
33192
28435
50420
7709
46189
11858
60150
53441
67374
48407
69602
8707
30690
20472
39929
25795
52182
377
60415
27218
37455
22157
60888
14875
13106
38201
8879
3187
35784
49694
83008
49313
73055
48440
51100
78982
3489
77919
60782
2171<...>
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: '881'

#3

414ms / 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
447
447
447
1287
2385
1613
2575
2158
4397
1253
2884
7164
540
4053
4087
1804
7474
1213
5684
5913
6819
7282
9147
5675
8548
7152
15878
14076
16634
2056
15964
4028
21474
13522
14859
13221
18488
6452
8091
20235
23515
27367
21697
18441
1771
23473
17904
24161
23890
2458
23369
3362
25241
21980
3749
15487
3777
22752
29011
32882
29709
17708
31198
17805
35714
2125
22168
24607
15804
38682
9885
32505
17331
19750
16134
16955
5153
35092
2924
40058
5763
4301
41644
28947
1170
13948
19796
30481
49548
46031
39268
31660
40099
14160
40509
49246
34007
10138
11841
51580
24832
47143
23938
52771
16854
409
3527
53196
47148
30780
8310
30824
31566
47449
9668
605
49735
33318
60482
57530
43849
21516
18543
56860
37617
58236
58743
54470
30374
61900
57586
19695
29570
62880
32759
50351
40761
53360
37666
51321
71647
14487
46568
23628
16347
24959
66610
49621
73366
33120
77808
19803
2330
71540
63503
22580
79448
57900
48926
10258
45606
59900
79240
10534
8366
82426
24121
77088
16431
10291
53250
47366
1699
85047
50129
28692
2405
26959
7345
49562
15<...>
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: '447'

#4

505ms / 8756KB / 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
166434
34976
34976
433044
245583
272002
656085
660771
494866
266689
232250
318650
416619
819803
144944
175378
493634
23563
885838
328771
214324
745418
436862
1601744
289812
517076
447368
279057
1162561
1121905
1185850
1705227
1649224
171871
340268
1839093
427391
936839
877256
794573
52177
1896166
243403
266151
216689
113632
147695
100020
258348
1825216
354109
506698
1407161
361396
1820485
2373332
777503
712777
1531133
324561
2513967
742401
359643
637875
1003975
1677822
988423
2575029
2740038
710763
710763
2886149
1123169
537127
1410714
1190600
755154
418123
104960
1437957
3479443
2699714
338938
1769838
1941547
1306672
2478544
4045412
2084298
653929
3027884
673917
2404081
3435892
974224
69648
2632287
193966
3011561
1194389
2450720
2534883
2531339
93760
858496
2647398
3580036
3095421
4745465
1626194
2867957
840485
1744974
990913
362821
3411060
2450983
3105525
1998569
4655161
3956705
686975
4173006
602098
5239713
1970351
3348313
5947704
824615
2626518
4845322
2847812
4315549
5024207
1903660
5566313
1967836
49874<...>
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: '166434'

#5

554ms / 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
196219
47277
504298
413608
405465
307142
379484
197665
176943
559982
47651
282849
355681
729712
319335
827041
20244
333159
247444
372608
108743
227305
1141947
675911
1146693
120006
1288920
1297063
1586677
1933871
1376891
1220811
1431193
651729
1118774
1363378
651729
1363378
1488542
1150002
1573760
52370
1020415
209293
209293
2093759
136457
181187
2211039
1115779
460700
799340
444347
444347
2196807
2152222
1877457
2240619
467351
2512250
660420
2709330
1894390
1403218
272793
2941843
1420355
1951996
463645
569800
2409956
2864942
228682
1070252
109366
1234989
194072
154238
2931767
68336
3441115
1185799
3383885
374225
212577
3422697
970857
2040997
44486
2115920
1279802
447171
2107760
522766
3852916
323274
3771826
3558450
285590
1832585
371957
1839460
1921897
522815
818106
104612
541821
4366754
339486
1065731
4907710
1051807
4600427
857467
1066611
3964058
3039643
5149370
3570164
3345370
2455393
1031545
5892758
1094972
4685017
5200479
1322039
528869
2340163
2307868
4154782
3775422
2437922
3772817
1192809
4818121
630<...>
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: '196219'

#6

628ms / 8832KB / 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
67654
67654
67654
67654
67654
72564
151419
64699
99508
105651
151396
5582
65916
145389
355547
231045
413245
583682
463749
763491
797699
738319
702801
773128
184097
181018
807735
855666
910183
875975
283055
874963
164487
897721
289392
414601
485558
499896
1213635
1138214
478846
1198548
549479
2981
1258856
1198548
1479063
775796
671055
1633335
372597
862046
1628472
197953
1096941
607909
687384
767159
211117
687384
440875
1081387
1822741
1501943
2688454
2486779
142299
2787970
2135372
2801560
807032
2207689
371234
3050735
3104418
1681724
2771535
2245553
139383
2341269
2117145
2035430
454148
517448
3421932
524265
1895558
3482240
184627
1604075
3308236
788528
3080939
890262
616805
3667774
589102
3182347
3347576
2448546
740507
1861884
2915802
1352767
1394225
3132654
1481797
2027225
2049133
4412758
3857118
4412758
1304319
1097735
801840
463444
2333839
2855809
5854572
4944761
2037717
3035504
2606089
2620589
5186485
5965085
313329
3505306
2848170
6266253
2616096
4282543
5663446
3129756
3159465
268342
1720739
5743152
36<...>
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: '67654'

#7

70ms / 8720KB / 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
211781
239713
239713
2909418
2881486
905908
459366
1068433
1068433
229892
1367388
539449
4624204
4624204
3367447
6188386
4257617
6790469
7126519
5915715
6398470
6734717
2864628
8942241
9733273
10848600
1300589
1121734
10886117
10982960
11463978
3521813
690087
11830247
12408108
6792819
2185043
11561408
1369059
5770115
19627061
20246725
8794609
6231552
19424940
2128510
951109
1963050
3264131
9656658
23141853
12531922
4421715
22652039
16519437
26546927
1231928
3303423
12831746
12831746
7441125
4501610
9554832
28849614
14766187
5403784
28849614
30904005
4960050
32104437
18633106
29571585
9216042
2838340
8371387
15679358
16793041
12689271
12689271
16788095
14589948
14492698
39657113
12176676
20447437
22762901
27565166
13892110
28175736
19779830
42090364
20188168
23744663
42995072
1865285
25352776
22395278
26821185
12436346
50904664
21904470
40405474
13448208
28861977
29948845
11896179
5783709
22231965
29855594
44390807
44381437
18536779
19261313
42642380
32378460
45682438
32539894
32459363
25742682
5778791
4048964<...>
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: '211781'

#8

21ms / 8836KB / 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
15455418
15455418
1383112
12828044
12828044
18318302
37159822
25611150
69903946
53891681
19084062
6202405
11664533
68894731
59907412
76636458
35460632
28363015
149382415
108003733
111490441
83570310
61498996
28590559
74962327
44971659
99080291
56472433
49108528
96042526
159994781
176915892
104579831
168532086
70144805
28146205
2130153
135275171
151067257
69903345
91776228
178987388
34028020
154389766
157756566
157756566
11755829
157836593
209071072
108100281
198370307
137321814
51156686
204820618
46098618
79346456
79346456
62530537
64473584
60698553
10304218
85368066
92228761
281133551
165945403
231075769
163872469
39267430
146497973
276114494
202791900
281317590
165852079
283346102
91840340
131814078
131814078
157912554
205909063
92432439
146175688
193602191
241955472
150248619
228981085
242637702
33678140
405884967
425726842
166536327
233842141
157045612
38501203
272167333
298498742
126726750
407416549
272400266
287452845
182655638
94936680
466754792
274870091
430162698
239990928
152898309
309565394
4805204<...>
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: '15455418'

#9

8ms / 8832KB / 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
48067415
100397307
100397307
111697866
190992679
139661357
660997136
194552942
517188023
517188023
660997136
712515369
40268989
291433427
597640756
95334343
415407750
415538343
941453082
223844450
804292685
5964282
149542994
986791095
369265402
1253859663
362593363
362593363
847177022
444616975
1383083895
1312827712
890974639
109367525
327273901
492599268
809914650
1233288479
835790905
266888255
316065482
94233536
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: '48067415'

#10

7ms / 8756KB / 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
877623443
891862002
2050041810
777480809
1039118763
2050041810
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: '877623443'
#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<<mp[x-deltax]+deltay<<endl;
		}else if(s=="gisei"){
			int x;
			cin>>x;
			deltax+=x;
		}else if(s=="shukufuku"){
			int x;
			cin>>x;
			deltay+=x;
		}
	}
	
	return 0;
}