QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#446045#8577. 평균 최대화ZhaoZiLong0 166ms56796kbC++234.5kb2024-06-16 20:24:422024-06-16 20:24:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 2ms
memory: 9952kb

input:

10
2 4 3 9 9 9 9 9 9 1
2
0 2
0 9

output:

9 3
60 9

result:

ok correct!

Test #2:

score: -5
Wrong Answer
time: 0ms
memory: 9948kb

input:

15
4596730 8340349 4612555 5692442 3914918 5213545 5248236 1276073 3844119 2943960 9231647 5091649 2239006 9139001 4735414
100
7 8
5 6
2 4
0 4
8 9
10 11
3 4
0 1
10 11
10 11
3 4
4 5
12 13
0 2
2 4
11 12
12 14
2 3
7 8
12 14
6 7
4 5
11 12
10 11
7 12
8 9
8 9
0 2
2 3
12 14
7 9
7 9
12 13
10 11
9 11
13 14
8...

output:

27156994 5
27156994 5
14219915 3
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
27156994 5
17549634 3
14219915 3
27156994 5
16113421 3
27156994 5
27156994 5
16113421 3
27156994 5
27156994 5
27156994 5
27156994 5
20782335 5
27156994 5
27156994 5
175...

result:

wrong answer Wrong Answer on query #1: 27156994/5 != 5120192/2

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #15:

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

input:

300000
1 2 4 4 4 4 3 2 4 4 3 4 4 4 4 4 4 4 4 4 3 4 3 4 4 4 4 4 4 4 4 3 3 4 4 4 3 4 3 4 4 4 4 4 4 4 4 4 4 3 3 4 4 4 3 4 4 3 4 4 4 4 4 4 4 3 2 4 4 4 4 4 4 4 4 4 4 4 4 4 3 4 4 4 4 4 4 4 4 4 4 4 2 4 4 2 4 4 3 4 4 4 2 3 4 4 4 4 4 4 3 2 4 4 4 2 4 4 4 4 4 4 4 4 4 4 4 2 4 4 4 4 4 4 3 4 4 3 4 4 4 4 4 4 4 4 4...

output:

1115367 298320
23 7
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
21 6
224 60
1115367 298320
1115367 298320
1115367 298320
42 11
13 4
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
1115367 298320
11...

result:

wrong answer Wrong Answer on query #1: 1115367/298320 != 1041675/278497

Subtask #5:

score: 0
Skipped

Dependency #3:

0%

Subtask #6:

score: 0
Time Limit Exceeded

Test #28:

score: 0
Time Limit Exceeded

input:

300000
1 300000 300001 299999 300003 299998 300005 299997 300007 299996 300009 299995 300011 299994 300013 299993 300015 299992 300017 299991 300019 299990 300021 299989 300023 299988 300025 299987 300027 299986 300029 299985 300031 299984 300033 299983 300035 299982 300037 299981 300039 299980 3000...

output:

Unauthorized output

result:


Subtask #7:

score: 0
Skipped

Dependency #4:

0%

Subtask #8:

score: 0
Skipped

Dependency #1:

0%