QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#407203#8633. 玩星铁玩的dXqwq20 339ms3984kbC++232.4kb2024-05-08 10:35:382024-05-08 10:35:40

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 0ms
memory: 3792kb

input:

100 100 0
438961768 200047102 111145 2392836 23 3640771 2667 919743151 934049944 2
95 37932 20554
330 45442 375972
261352409 254834405 183988 7032278 113 119882 12736 1049564243 972247239 1
49 218421 13864
440650630 178164276 223065 7397754 179 181797 2336 716200439 97202456 1
51 42561 5550
23386115...

output:

111145
183988
223065
134385
458046
142066
157723
587246
538487
444635
514009
557213
429011
438249
133260
659175
313811
110523
336403
182425
803622
159578
152318
265885
208982
396211
144513
255123
859722
342716
208061
364803
334286
164047
822562
190126
666913
747454
254382
269065
638690
527914
334519...

result:

ok 200 numbers

Test #2:

score: 5
Accepted
time: 1ms
memory: 3884kb

input:

100 100 0
208008567 242947934 125753 6841546 20 51618 16079 198841853 530452409 1
43 17690 13630
409569464 263944225 234003 8061026 288 164142 90907 590101644 259739877 9
105 97357 46932
209 39990 66868
506 107462 413244
110 73752 84320
151 186115 180877
176 213042 564930
220 104667 96225
166 30829 ...

output:

125753
234003
696587
827998
137342
159505
394779
122223
371966
839701
351540
715078
528351
761036
318314
149557
857283
157936
557784
614110
768980
147085
117506
140763
417177
557011
366116
301303
282862
143695
324058
722376
211886
184168
290482
304312
360397
149803
216098
301334
108134
250539
711550...

result:

ok 200 numbers

Subtask #2:

score: 0
Wrong Answer

Test #3:

score: 10
Accepted
time: 0ms
memory: 3844kb

input:

1 1 1500
226815065 264873470 226173 595493 45 1613672 2315 375262117 865540937 1
154 260049 772964
259538107 193360910 561356 1364372 28 371406 23857 757469323 26089491 1
52 158928 16948

output:

110754
550292

result:

ok 2 number(s): "110754 550292"

Test #4:

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

input:

1 1 1500
360868868 204396871 199168 2909707 32 990121 129561 992831342 427688899 1
75 19627 119321
204495792 215147845 465681 6814522 34 196047 64146 269563526 819073330 1
138 151269 75350

output:

-42
239697

result:

wrong answer 2nd numbers differ - expected: '249290', found: '239697'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #2:

0%

Subtask #5:

score: 15
Accepted

Test #24:

score: 15
Accepted
time: 301ms
memory: 3824kb

input:

100 100 10000
355993747 188694627 534548 554718 101 5765011 39160 1020488174 583884563 6
477 0 993801
44 0 64963
188 0 474356
72 0 19241
142 0 182474
164 0 305800
208538388 277252475 548370 2684492 463 92750 1408 542013440 991831316 9
212 0 913344
352 0 324349
56 0 7244
43 0 47510
188 0 162746
122 0...

output:

-52
-192
-17
-3
-67
-77
-61
779568
-139
-48
-56
-723
864773
-214
-7
-54
-9
-312
-530
-212
-21
-110
-416
-1493
-114
-6
861705
-20
-48
-106
-79
-341
-9
-12
-89
-554
-20
-1259
-98
-190
-132
-22
-305
-139
-264
-9
-27
-51
-252
-35
-249
-239
-79
-181
-114
-729
-5
-714
818909
811918
-287
-144
641648
-159
-...

result:

ok 200 numbers

Test #25:

score: 15
Accepted
time: 323ms
memory: 3840kb

input:

100 100 10000
317260395 489496051 377450 1484593 185 271797 1448 211376744 549662827 1
48 0 8901
198567425 397093561 451555 1069382 187 1638505 269080 326516322 113986515 1
71 0 254201
462914382 484697449 785117 2040476 221 155614 148773 959801144 788923255 6
60 0 15887
35 0 12382
90 0 82356
38 0 11...

output:

-49
451555
785117
-556
608234
-125
-28
-62
638812
-133
-53
-160
725181
772231
-45
-17
796994
-44
-111
-13
557396
-32
661212
-83
804881
430965
479551
-75
-19
-328
-123
-115
-32
-62
402347
-83
722719
470959
-11
-57
-139
593448
-11
588749
-73
-92
-13
-9
-70
428632
810890
756125
-280
-12
-19
-50
703960
...

result:

ok 200 numbers

Test #26:

score: 15
Accepted
time: 304ms
memory: 3820kb

input:

100 100 10000
220368154 532175364 133316 6624195 20 1861952 29988 564217271 146032524 8
440 0 484929
34 0 33897
27 0 6465
153 0 115506
52 0 4592
154 0 135019
57 0 12549
41 0 15793
172027937 344958324 726211 1241433 344 573851 763988 814221436 859979886 5
259 0 343128
239 0 476537
119 0 196913
81 0 7...

output:

-19
726211
-210
811913
-65
-75
-61
-51
-24
-35
675562
-18
710749
-5
-1
-84
-130
-87
-121
-325
-212
-274
663676
-494
793194
-153
-86
-328
-12
-157
-8
-68
-199
-44
-262
-79
-51
-296
-31
744054
-236
-31
-21
-119
771881
678884
-11
-5
803231
-139
-52
-156
-8
671198
-81
-131
-193
708279
-31
-36
-8
-40
-2
...

result:

ok 200 numbers

Test #27:

score: 15
Accepted
time: 287ms
memory: 3984kb

input:

100 100 10000
181452668 295642887 451576 788169 144 129798 1020677 828913201 111810789 10
52 0 5309
119 0 48673
38 0 26864
78 0 41914
60 0 27511
63 0 41669
401 0 342178
499 0 667735
81 0 35276
138 0 586443
182325950 313821971 508803 3562493 182 445577 693598 519116439 438313257 3
39 0 59408
43 0 558...

output:

-313
-26
-30
-40
-507
-23
789327
-515
-693
-324
-168
-32
-21
-123
-332
-69
-63
-80
-37
-138
-11
-23
-201
-41
-150
835190
-8
783786
-43
844009
-34
-18
-168
-132
-124
-83
-169
-359
-103
-476
-107
-31
-22
848830
-184
-443
-265
-14
0
-142
-87
362592
-31
-514
788139
-37
-307
-6
-9
-160
-93
-93
-4
-372
-2...

result:

ok 200 numbers

Test #28:

score: 15
Accepted
time: 339ms
memory: 3888kb

input:

100 100 10000
143552975 327545868 616935 1357196 462 1653839 1721 19801772 77556285 3
37 0 14185
50 0 18223
59 0 21078
395333578 186306779 607186 5140753 24 8237691 1810 170426275 32141517 8
28 0 11969
57 0 23852
24 0 12156
58 0 29899
57 0 10242
197 0 406362
166 0 458343
60 0 34404
340590770 3092492...

output:

-3
-333
-37
-173
778991
-119
-134
-43
-113
-105
845704
-10
-29
-12
755158
-125
-135
-310
-94
741477
-10
-183
-46
-64
-15
-8
-43
718009
-11
-481
-29
714615
-14
-105
-38
-36
-83
-29
-64
-5
805228
-23
-378
-65
-167
-28
-71
-140
-243
-386
-1
-298
-114
-49
-34
102805
-76
-53
-46
-49
-229
-7
-179
-67
-160...

result:

ok 200 numbers

Test #29:

score: 15
Accepted
time: 308ms
memory: 3892kb

input:

100 100 10000
257530613 381034265 240878 7760464 40 3875013 276841 460852430 378357542 10
58 0 21424
101 0 28298
52 0 12301
201 0 628975
142 0 103797
21 0 16366
87 0 42866
58 0 53175
54 0 55369
16 0 8754
532045428 177845095 257030 5196155 49 186666 822548 556022490 408946490 3
198 0 693446
162 0 193...

output:

-6
-417
-48
-68
-43
807599
-16
-47
-5
-73
-157
-4
698360
-14
-12
-43
-537
-85
-348
-9
-17
-38
679555
-40
-53
-30
-2
-4
-61
-1
-211
-235
112088
-40
-64
-89
-22
-118
-12
830994
-32
634887
-82
-6
-16
-15
-3
-4
671944
-59
-75
-114
-296
-19
-25
852152
-1
-40
-45
-115
635660
-107
-319
-11
-35
-29
-42
-42
...

result:

ok 200 numbers

Test #30:

score: 15
Accepted
time: 327ms
memory: 3928kb

input:

100 100 10000
430398441 423254825 791983 982293 19 39558 1950 813791260 1048469063 7
225 0 298888
43 0 42235
60 0 13056
78 0 26248
230 0 252352
42 0 13926
45 0 4380
358735759 152558073 247600 5879787 461 357704 2386 251534423 841640204 1
22 0 13405
265525986 164203983 753475 2003603 20 3196147 7366 ...

output:

791983
-8
-164
-151
-20
-151
-24
-84
-93
-109
-18
-376
-163
-63
-6
-49
-2
-70
-107
-11
-94
804947
830181
-36
-85
-5
-14
-204
-143
-160
-70
-63
702977
-89
-224
-8
-20
-51
-5
-171
-98
-36
-300
-286
-17
-72
-154
-61
-30
-13
-76
-409
-113
-105
-52
-118
-24
-57
-178
-69
-183
-18
-25
-69
-7
-238
-19
-67
-...

result:

ok 200 numbers

Subtask #6:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%