QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#854451#9735. Japanese Bandsucup-team3705#WA 864ms61796kbC++2320.5kb2025-01-12 01:27:072025-01-12 01:27:09

詳細信息

Test #1:

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

input:

3
2 3 3 3
2 3
1 1
2 3
2 2 2 1
1 1
1 1 10 2
1 2
1 3

output:

6
4
0

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 864ms
memory: 61796kb

input:

500
481199252 336470888 8 58
4 7
7 6
4 7
2 6
2 6
2 7
8 3
8 7
8 1
2 6
2 6
1 2
1 5
3 1
6 4
2 4
4 7
2 6
2 3
7 1
4 4
5 1
2 7
6 7
8 1
8 7
5 6
4 2
4 2
8 5
5 4
6 8
5 6
3 8
1 7
1 6
7 1
5 6
6 3
1 1
2 7
3 3
1 5
5 5
8 7
3 4
6 3
8 8
7 4
1 6
2 1
8 7
4 5
2 7
3 5
2 6
4 5
4 3
2 6 2 2
2 1
1 1
500330171 987581927 10 ...

output:

462286990
12
527068171
846759476
419637390
1
848433387
828600137
1
269113412
878324333
1
0
260844559
376698469
12480406
756988340
466890813
838725718
59950148
0
487514263
892466484
8376585
16
850888690
933415829
727098771
1
612901047
945465105
755788414
0
687835798
1
84295086
264859767
1
1
846193262...

result:

wrong answer 1st lines differ - expected: '724920553', found: '462286990'