QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#389649#2639. High Scorelmq26052003WA 9ms3736kbC++17709b2024-04-14 17:31:052024-04-14 17:31:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3604kb

input:

7
5 0 5 0
9 7 2 0
6 9 1 0
5 0 1 0
1 3 1 0
8 4 9 0
4 0 6 0

output:

50
148
125
26
18
189
52

result:

ok 7 lines

Test #2:

score: 0
Accepted
time: 4ms
memory: 3724kb

input:

7
8 2 8 1
5 3 6 1
6 8 9 1
1 3 8 1
3 9 5 1
1 3 7 1
1 5 1 1

output:

163
105
243
98
155
81
45

result:

ok 7 lines

Test #3:

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

input:

7
5 4 9 2
5 7 0 2
8 3 6 2
4 8 1 2
0 6 9 2
8 0 3 2
7 7 6 2

output:

190
106
166
124
157
109
211

result:

ok 7 lines

Test #4:

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

input:

7
3 3 2 3
8 9 8 3
2 5 5 3
9 2 2 3
2 4 4 3
2 3 6 3
0 9 1 3

output:

64
328
110
166
85
108
145

result:

ok 7 lines

Test #5:

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

input:

7
9 1 1 4
0 7 5 4
8 9 4 4
2 1 5 4
0 4 1 4
2 6 2 4
8 2 8 4

output:

178
146
277
93
65
122
226

result:

ok 7 lines

Test #6:

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

input:

7
1 0 7 5
7 6 8 5
9 5 1 5
1 2 5 5
7 6 9 5
4 5 7 5
1 6 7 5

output:

145
296
229
112
323
213
188

result:

ok 7 lines

Test #7:

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

input:

7
9 6 4 6
2 9 4 6
5 2 8 6
6 1 4 6
9 9 2 6
8 3 4 6
6 7 6 6

output:

305
259
239
168
324
242
283

result:

ok 7 lines

Test #8:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

7
7 3 3 7
1 0 8 7
9 9 5 7
6 2 7 7
1 1 7 7
4 8 9 7
5 5 2 7

output:

235
226
397
250
205
364
187

result:

ok 7 lines

Test #9:

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

input:

7
12 3 3 10
6 0 13 10
14 14 10 10
1 12 12 10
11 1 2 10
4 8 4 10
10 5 2 10

output:

523
565
942
636
453
384
443

result:

ok 7 lines

Test #10:

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

input:

7
7 13 3 30
1 10 8 30
9 9 15 30
16 2 7 30
1 11 17 30
14 8 19 30
15 15 2 30

output:

1928
1672
2250
2183
2338
2717
2268

result:

ok 7 lines

Test #11:

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

input:

3
2 1 2 1
3 2 1 0
1 3 0 1

output:

26
21
18

result:

ok 3 lines

Test #12:

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

input:

7
27 3 3 50
21 0 28 50
29 29 25 50
16 12 27 50
11 1 17 50
4 8 19 50
25 5 2 50

output:

5968
6525
7882
6413
4618
4869
5668

result:

ok 7 lines

Test #13:

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

input:

7
383574 416782 880911 0
952666 422334 356554 0
813068 799283 259003 0
487102 426269 757645 0
729453 678430 186370 0
383508 587244 41633 0
72039 166282 741301 0

output:

1096843123939
1213071765906
1367017253743
993002548673
1027104025599
493667499720
582366997919

result:

ok 7 lines

Test #14:

score: 0
Accepted
time: 4ms
memory: 3612kb

input:

7
321071 780787 744059 100
698048 361699 693927 100
286028 32527 915597 100
534101 739399 823274 100
573643 922779 835897 100
304878 443829 221824 100
589167 700104 727876 100

output:

1266497136788
1099774009727
921371246011
1509923241985
1879499750200
339230991669
1367216545450

result:

ok 7 lines

Test #15:

score: -100
Wrong Answer
time: 9ms
memory: 3664kb

input:

7
128581 570648 936269 10000
681630 543078 806240 10000
139674 932735 573551 10000
864383 941506 445610 10000
789799 677802 45152 10000
30632 769726 355990 10000
435301 757606 169156 10000

output:

1237598133893
1425804710130
1230735819454
1842968702777
1088957994199
728173989554
797225433095

result:

wrong answer 3rd lines differ - expected: '1237219833820', found: '1230735819454'