QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#464485#7318. Cute PandaUrdWA 271ms7736kbC++17973b2024-07-06 10:06:532024-07-06 10:06:54

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 7668kb

input:

5
8 4 8 3 10
1 0 4 5 1
5
9 4 10 0 4
3 5 2 2 1

output:

11
13

result:

ok 2 number(s): "11 13"

Test #2:

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

input:

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

output:

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

result:

ok 10000 numbers

Test #3:

score: -100
Wrong Answer
time: 271ms
memory: 7736kb

input:

1000
505400698 561631395 579040098 886128990 488693308 406350856 380132470 800540368 831995897 667148414 998126004 837581553 522169132 877906199 649428493 388771071 378257450 295374091 898831314 973238373 612608464 761814602 765355873 663781699 127645193 268211920 957441374 326023570 225808435 80953...

output:

248979850966
249875905411
244061741822
253003081853
247722981190
246442790521
245957804301
250461746052
248916161725
252630610169
253790819738
253080961077
256061951903
249198670256
250678772785
245461408060
241827852788
249438871180
248888053944
255538521117
250143338656
256843595698
250312245205
2...

result:

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