QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#270588#7072. PhotographZhaoZiLongWA 3ms5616kbC++172.0kb2023-12-01 10:09:152023-12-01 10:09:17

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 5452kb

input:

5 4
1 2 3 4 5
1 2 3 4 5
6
6
8
10

output:

10
10
13
21
36

result:

ok 5 lines

Test #2:

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

input:

1 100
9139
1
815121916
455099013
31761433
46418945
11466871
709189476
658667824
977821005
511405192
843598992
501074199
638564514
680433292
994431111
584582554
452689372
642414314
863578235
135133204
438404803
67246919
492858783
447116205
723252212
948645336
191050463
326944894
685212650
828613990
1...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

result:

ok 101 lines

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 5616kb

input:

2 100
9859 8096
2 1
692572036
546897526
810778144
630776743
411450468
47253421
344401774
898201838
853758724
613913038
441359030
921437570
855535818
106915566
108572797
533697405
315571976
503278469
849317884
327448764
867873746
718830950
808828124
547579134
751502930
595486247
629024078
79153124
34...

output:

97160449
65529025
97160449
65529025
65529025
97160449
97160449
65529025
97160449
65529025
97160449
65529025
97160449
65529025
97160449
97160449
97160449
65529025
65529025
97160449
65529025
97160449
65529025
97160449
65529025
97160449
97160449
65529025
97160449
97160449
97160449
97160449
65529025
971...

result:

wrong answer 1st lines differ - expected: '3108169', found: '97160449'