QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465547#8594. Fieldegypt_ioi2024b_03#8 32ms14256kbC++231.6kb2024-07-07 01:17:332024-07-07 01:17:33

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 32ms
memory: 12956kb

input:

100 1 200000
387 400 -379 -369
383 396 -400 -387
325 394 365 391
386 390 -356 -347
-384 -373 -400 -337
381 396 -382 -363
-397 -346 -392 -348
370 370 -378 -350
-391 -382 -398 -394
392 400 397 398
362 372 297 389
377 389 -399 -297
-378 -303 -394 -388
-369 -328 -357 -353
385 391 -350 -325
397 398 -381 ...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
345
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1...

result:

wrong answer 1st numbers differ - expected: '772', found: '-1'

Subtask #2:

score: 0
Runtime Error

Test #8:

score: 0
Runtime Error

input:

100 1 200000
-520000000 799999999 670000000 899999999
-870000000 -570000001 290000000 519999999
200000000 839999999 -770000000 769999999
480000000 949999999 -690000000 -1
-910000000 -390000001 380000000 939999999
370000000 879999999 850000000 889999999
-630000000 699999999 270000000 359999999
120000...

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 8
Accepted

Test #21:

score: 8
Accepted
time: 0ms
memory: 7648kb

input:

100 2 200
0 0 1 1
0 0 -1 -1
1 1 0 0
-1 -1 0 2
0 0 -1 -1
-1 -1 0 0
-1 -1 0 0
-1 -1 0 0
0 0 1 1
1 1 0 0
1 1 0 0
1 2 -1 0
1 1 0 0
-1 -1 0 0
-1 -1 0 0
1 1 0 0
0 1 1 1
-2 -1 0 0
-1 -1 0 0
-1 -1 0 0
0 0 -1 -1
0 0 -1 -1
0 0 1 1
-1 -1 0 0
-1 0 -1 -1
-1 -1 0 0
0 0 -1 -1
1 1 0 0
1 1 0 0
0 0 -1 -1
-1 0 1 1
-1 ...

output:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

result:

ok 200 numbers

Test #22:

score: 0
Accepted
time: 8ms
memory: 13004kb

input:

100 2 400
390 390 -392 -257
-400 -343 301 386
310 395 373 391
398 399 -387 -339
-385 -369 -395 -374
354 362 380 399
-389 -386 -359 -359
357 392 369 396
369 385 -394 -332
-385 -375 331 357
374 389 -389 -328
368 397 384 397
326 384 361 389
320 395 367 395
309 367 -393 -357
-396 -373 344 365
-355 -349 ...

output:

98125
19013
258481
5725
613
194065
255613
11401
86113
218461
87781
124501
31001
32005
237361
208013
9385
196565
183013
79601
166465
174641
56785
244301
93745
282001
55445
1301
9661
76441
74113
139921
101701
201613
313
289561
12325
2665
309685
148513
294145
5941
265721
11705
56113
41185
35113
54121
3...

result:

ok 400 numbers

Test #23:

score: 0
Accepted
time: 11ms
memory: 9836kb

input:

100 2 400
-400 400 1 400
1 400 -400 400
-400 400 -400 -1
-400 -1 -400 400
-400 400 1 400
1 400 -400 400
-400 400 -400 -1
-400 -1 -400 400
-400 400 1 400
1 400 -400 400
-400 400 -400 -1
-400 -1 -400 400
-400 400 1 400
1 400 -400 400
-400 400 -400 -1
-400 -1 -400 400
-400 400 1 400
1 400 -400 400
-400...

output:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

result:

ok 400 numbers

Test #24:

score: 0
Accepted
time: 0ms
memory: 13996kb

input:

100 2 200
-7 -2 300 381
-101 -87 -339 -318
190 230 388 399
246 259 -181 -169
304 308 367 376
73 128 -116 -115
57 77 142 147
-215 -205 210 211
-53 -19 84 97
-243 -235 -86 -86
-88 -63 130 214
142 167 268 269
-100 -95 105 110
272 275 302 304
-239 -207 -329 -329
332 378 197 206
-172 -171 -229 -221
376 3...

output:

10553
262091
17282
460
22075
216829
200530
157822
177644
286773
85344
73997
9428
64510
113
224091
21238
82284
21655
71033
41645
4207
202797
236619
157822
70299
214448
188335
260692
3682
237899
139495
282282
236619
640
2740
20824
9982
126705
259299
253784
18425
21238
166171
272045
25990
33598
256529
...

result:

ok 200 numbers

Test #25:

score: 0
Accepted
time: 3ms
memory: 14256kb

input:

100 2 400
-145 -127 -202 -194
235 244 260 272
61 69 250 269
-79 -75 -57 -55
312 324 59 108
37 65 -168 -161
331 341 -258 -231
342 371 313 320
66 68 -224 -221
208 300 -273 -259
103 109 -360 -340
235 239 -284 -163
241 262 -209 -207
349 361 -243 -174
-374 -361 -41 -35
-323 -319 -55 -52
357 372 -151 -135...

output:

3431
13179
16759
295766
64513
71565
78722
41201
40651
62473
235266
34270
176168
248803
287096
19099
74437
164583
685
143728
116851
136383
170330
76582
23305
5489
27409
269939
365
14211
221
8020
1945
18303
2638
265648
113193
51930
761
179697
6101
135348
13
106817
30300
84533
49065
162318
191678
55435...

result:

ok 400 numbers

Test #26:

score: 0
Accepted
time: 3ms
memory: 14032kb

input:

100 2 200
-369 -360 169 205
114 121 343 357
148 158 -255 -244
225 228 123 136
347 357 319 344
228 235 -319 -297
337 342 -63 -56
171 172 218 225
149 164 327 348
364 364 53 83
98 116 190 196
287 295 47 48
-123 -117 221 226
-49 -24 313 314
-73 -73 6 6
-347 -271 48 96
-108 -94 385 396
282 294 260 267
-1...

output:

284241
59833
2245
211438
64024
235859
104283
77291
292883
285677
198992
39854
32490
4901
11971
229345
93572
11374
23744
1405
5305
86798
8321
57787
234551
46255
135468
8581
29574
6613
90998
134457
70525
9939
233246
37670
85162
185931
297212
80387
111746
242449
43271
264363
38754
16237
16965
40973
884...

result:

ok 200 numbers

Subtask #5:

score: 0
Runtime Error

Test #27:

score: 0
Runtime Error

input:

100 2 400
930000000 979999999 950000000 979999999
800000000 829999999 830000000 939999999
980000000 999999999 970000000 989999999
-1000000000 -990000001 -1000000000 -960000001
950000000 979999999 -1000000000 -770000001
-970000000 -910000001 -950000000 -900000001
-970000000 -890000001 860000000 91999...

output:


result:


Subtask #6:

score: 0
Skipped

Dependency #4:

100%
Accepted

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #6:

0%

Subtask #8:

score: 0
Skipped

Dependency #7:

0%

Subtask #9:

score: 0
Skipped

Dependency #8:

0%