QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#117348#5828. 游戏dong_liu#20 185ms60908kbC++172.8kb2023-07-01 00:33:532024-05-31 18:44:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 30376kb

input:

500
279 196
182 105
400 14
278 217
198 411
379 318
120 421
314 95
437 325
23 433
71 485
192 154
90 224
180 71
328 93
183 101
404 349
223 285
492 100
366 480
29 328
200 448
365 156
226 231
129 167
246 273
171 452
284 6
131 471
229 90
480 48
448 157
240 221
7 36
401 200
255 438
436 110
281 489
388 258...

output:

342 241 295
201 94 280
40 94 295
200 241 8
311 108 465
461 57 64
30 241 84
253 242 20
424 241 465
390 496 204
165 242 82
342 123 154
401 57 93
125 168 458
211 108 295
306 242 82
290 463 91
211 496 247
401 463 247
132 278 38
215 57 217
54 333 106
40 168 71
179 168 70
165 123 106
30 57 168
150 241 218...

result:

wrong answer Wrong answer on test 1

Test #2:

score: 0
Wrong Answer
time: 8ms
memory: 28432kb

input:

2000
643 1871
689 23
1822 1443
1031 1027
1655 845
189 771
1561 498
19 1778
576 1080
904 717
1690 291
1387 1077
398 811
1310 1231
645 1291
480 927
330 170
1464 1057
1033 894
1308 288
1292 1529
1212 122
1108 401
89 1118
1058 1088
1764 1314
981 1255
1893 864
180 1887
1903 843
734 1412
883 1013
1739 124...

output:

1227 324 1443
474 688 546
886 324 230
565 324 1822
809 758 1887
128 892 1501
1262 798 1738
418 1784 1065
1788 965 386
1986 428 1934
1757 1633 1297
1338 867 1070
1595 867 1829
109 1680 1128
1424 1443 1128
894 758 1798
109 758 1887
1055 1784 1410
1090 87 564
1105 134 597
1897 1703 466
1043 1734 265
86...

result:

wrong answer Wrong answer on test 1

Test #3:

score: 10
Accepted
time: 127ms
memory: 37396kb

input:

200000
56968 132021
105656 107536
123627 58349
119191 138198
133708 142638
114350 24980
137784 40346
124158 130204
80684 183207
78156 94449
21893 157560
54464 73571
145830 57756
160288 32120
178632 142663
26565 185985
70576 24906
32217 115826
185756 137673
54280 179613
77826 144447
66005 29955
11745...

output:

171660 90785 34304

result:

ok Accepted!

Test #4:

score: 10
Accepted
time: 93ms
memory: 37428kb

input:

200000
41999 100683
85781 129266
122431 179332
162416 44814
24405 42267
154161 12483
178049 159964
67625 152391
133072 25866
178005 14695
94384 170290
54701 40323
66280 128515
159022 55057
14985 12920
182805 40659
173117 67973
99771 26102
198919 94543
23608 187601
61125 5759
89437 47647
18142 192402...

output:

155004 189131 144460

result:

ok Accepted!

Test #5:

score: 0
Wrong Answer
time: 107ms
memory: 35420kb

input:

200000
195072 75458
31991 127114
60943 49502
186375 1130
45394 147217
168455 84307
132752 188952
101108 130004
107490 22003
16275 187645
111002 42669
138880 137115
112688 172751
81697 99037
166996 18495
2234 56119
170807 101349
105736 23180
148159 40863
136678 11849
190707 91245
61779 120740
157115 ...

output:

86732 128046 82102
191778 86649 26183
77586 189692 20873
158643 82637 19743
55912 2255 104975
91454 35694 8412
140014 194500 57427
34080 116081 51401
132383 102355 56487
194173 57950 48727

result:

wrong answer Wrong answer on test 1

Test #6:

score: 0
Wrong Answer
time: 100ms
memory: 37292kb

input:

200000
48556 78408
155026 9376
8983 61211
150393 85068
90892 109283
75746 89742
6760 187245
168658 130735
68602 127646
60802 149828
22898 59471
172845 100274
42303 190696
7612 134905
94702 59800
129633 192496
19903 64869
51318 63358
34692 66030
98535 176606
153647 177529
157903 147292
106273 107278
...

output:

33126 12376 51089
140751 167858 130199
101075 165347 71617
137515 152524 39144
19728 177152 195824
46618 4164 187288
10980 122619 119603
100096 93881 177689
159507 8728 325
90870 48141 64257

result:

wrong answer Wrong answer on test 1

Test #7:

score: 0
Wrong Answer
time: 151ms
memory: 60908kb

input:

200000
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 5...

output:

145645 1 62949
68760 1 29804
115484 1 20705
36782 1 16671
41631 1 5656
114616 1 28131
114785 1 56172
171869 1 77629
174290 1 42327
175188 1 20964
142541 1 2900
82073 1 21712
20583 1 4028
177239 1 83956
99183 1 8150
94979 1 12843
136758 1 19612
93202 1 37599
26120 1 9655
70963 1 31750
95600 1 28190
1...

result:

wrong answer Wrong answer on test 2

Test #8:

score: 0
Wrong Answer
time: 166ms
memory: 39900kb

input:

200000
5732 55198
128966 25317
114737 116391
150003 18274
43867 70745
76222 4169
55976 114951
198396 72896
38647 19711
12756 172119
73197 117994
117512 14177
130965 126990
119440 183341
142023 60829
111893 57350
122754 123305
36525 79077
36447 91967
135405 170456
165839 147481
66074 175822
22238 264...

output:

183543 178310 178310
98115 178310 178310
36778 178310 178310
30537 178310 178310
169883 178310 178310
65826 178310 178310
31265 178310 178310
161066 178310 178310
129717 178310 178310
85 178310 178310
98442 178310 178310
118809 178310 178310
183881 178310 178310
87348 178310 178310
186490 178310 178...

result:

wrong answer Wrong answer on test 1

Test #9:

score: 0
Wrong Answer
time: 185ms
memory: 40532kb

input:

200000
185063 17064
180987 114492
88071 71803
158363 135918
60910 54848
97338 6734
192937 9410
49617 199068
82499 63554
188791 188152
178767 40866
11304 27212
144234 138097
42236 3946
103355 12683
50992 20598
145723 48620
11709 115688
123172 121379
70541 130844
147827 39431
139372 61280
42705 54015
...

output:

126944 51115 121885
92997 150200 3000
130872 176380 60724
44305 127738 138563
164696 35129 181306
111023 47268 106534
36071 179652 66590
2690 172069 167093
23491 33922 70653
140742 161931 32731
120184 151617 4093
119027 91014 17448
135366 32800 35480
113803 9983 10929
129932 171545 159894
752 163746...

result:

wrong answer Wrong answer on test 1

Test #10:

score: 0
Wrong Answer
time: 172ms
memory: 38888kb

input:

200000
197244 185999
18639 124754
154223 12099
53676 167616
22710 22294
150412 66132
19320 75478
170410 122661
130961 175554
171586 85572
188386 81238
120249 117687
43214 126266
8744 165654
164725 189519
124144 170329
86605 100197
130545 17030
113301 96665
67733 187286
37846 146399
75352 117550
3235...

output:

175364 64203 3445
33489 102983 54505
59051 111074 48082
57434 159203 188230
192785 153817 1121
67908 99178 55878
138451 44167 164110
95890 81544 129314
119620 119761 15993
75701 39733 191813
6646 116532 105696
16279 168646 133278
67480 56283 163659
62668 108697 29600
73301 25290 169058
159245 90970 ...

result:

wrong answer Wrong answer on test 1