QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#483030#5408. 计数鸡hyforces#20 183ms12048kbC++20614b2024-07-18 10:02:112024-07-18 10:02:11

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 174ms
memory: 11812kb

input:

20
20 4 15 16 11 3 7 18 9 5 13 8 6 12 2 10 1 17 14 19
-7 -11 9 -3 -20 -13 -18 15 0 8 0 12 -16 -19 8 -9 -4 -2 6 -10

output:

699910446

result:

ok 1 number(s): "699910446"

Test #2:

score: 0
Accepted
time: 179ms
memory: 11748kb

input:

20
11 6 3 18 17 19 4 8 10 15 12 16 1 13 7 14 5 20 9 2
13 9 -1 1 9 -11 -19 8 -5 -11 -4 3 17 1 8 1 0 -11 -16 -10

output:

694405422

result:

ok 1 number(s): "694405422"

Test #3:

score: 0
Accepted
time: 182ms
memory: 12048kb

input:

20
11 12 16 6 5 2 8 20 14 7 13 15 4 9 19 3 10 1 17 18
-12 11 14 -9 0 0 -4 -3 14 -4 -14 16 -1 12 -19 8 -1 1 8 10

output:

699648302

result:

ok 1 number(s): "699648302"

Test #4:

score: 0
Accepted
time: 180ms
memory: 11756kb

input:

20
12 19 16 8 7 5 15 18 10 1 2 14 6 11 9 20 4 17 13 3
-14 -13 11 -3 -8 6 -14 -4 9 -4 12 -7 -8 7 4 13 3 8 -17 11

output:

693618990

result:

ok 1 number(s): "693618990"

Test #5:

score: 0
Accepted
time: 174ms
memory: 12048kb

input:

20
19 9 2 18 10 17 7 11 16 12 3 13 8 15 14 6 5 4 1 20
13 9 16 10 4 1 -2 -11 3 11 -7 18 -15 -2 -19 9 -8 -8 4 -19

output:

700172590

result:

ok 1 number(s): "700172590"

Test #6:

score: 0
Accepted
time: 171ms
memory: 11820kb

input:

20
17 8 11 15 12 14 4 6 7 9 18 13 19 10 16 2 1 5 3 20
5 -19 6 -9 18 1 -8 -1 2 -12 7 -6 10 -4 -2 0 -9 -15 17 20

output:

700434734

result:

ok 1 number(s): "700434734"

Test #7:

score: 0
Accepted
time: 178ms
memory: 11816kb

input:

20
2 17 20 5 11 18 1 14 12 8 9 6 7 16 13 15 10 4 19 3
-2 -9 -14 -13 -12 1 -7 2 8 3 -1 -5 -4 3 -9 6 -15 11 -14 -5

output:

694143278

result:

ok 1 number(s): "694143278"

Test #8:

score: 0
Accepted
time: 183ms
memory: 11744kb

input:

20
7 12 3 15 8 2 9 11 19 4 16 10 13 14 17 6 20 1 18 5
3 10 -6 3 3 -13 -9 -5 5 -11 -16 -17 -13 5 14 4 3 1 2 9

output:

697813294

result:

ok 1 number(s): "697813294"

Test #9:

score: 0
Accepted
time: 182ms
memory: 11748kb

input:

20
5 1 7 15 9 16 12 4 17 19 13 6 11 8 20 18 10 3 14 2
-16 13 -5 -10 8 2 -5 5 -15 -18 9 0 6 18 0 10 9 -7 -16 -11

output:

700959022

result:

ok 1 number(s): "700959022"

Test #10:

score: 0
Accepted
time: 179ms
memory: 11748kb

input:

20
16 10 17 12 19 13 20 2 7 3 15 14 5 8 11 1 4 18 9 6
14 4 16 4 9 -12 -4 11 3 14 -7 -10 -19 -4 0 -1 2 -9 4 6

output:

697551150

result:

ok 1 number(s): "697551150"

Subtask #2:

score: 0
Wrong Answer

Test #11:

score: 30
Accepted
time: 4ms
memory: 3812kb

input:

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

output:

985377138

result:

ok 1 number(s): "985377138"

Test #12:

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

input:

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

output:

985385330

result:

ok 1 number(s): "985385330"

Test #13:

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

input:

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

output:

985377138

result:

ok 1 number(s): "985377138"

Test #14:

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

input:

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

output:

985385330

result:

ok 1 number(s): "985385330"

Test #15:

score: -30
Wrong Answer
time: 0ms
memory: 3592kb

input:

290
210 151 231 91 180 53 275 208 138 4 251 83 136 247 22 64 104 39 120 218 51 26 203 196 280 153 191 163 161 159 241 175 284 132 17 236 11 211 142 162 107 259 246 257 47 54 165 172 70 274 219 267 289 67 237 286 1 222 194 144 146 281 9 65 89 87 171 5 271 71 285 94 283 81 261 42 260 157 244 213 127 2...

output:

1

result:

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

Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%