QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#338294#7785. Three Rectanglesucup-team010#WA 1ms4116kbC++172.4kb2024-02-25 20:11:342024-02-25 20:11:35

详细

Test #1:

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

input:

5
2 2
1 1
1 1
1 1
2 2
1 1
1 2
1 2
2 2
1 1
1 2
2 1
2 2
1 2
1 2
1 2
2 2
1 2
1 2
2 1

output:

0
8
4
6
4

result:

ok 5 number(s): "0 8 4 6 4"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3824kb

input:

4
1 3
1 1
1 2
1 3
1 4
1 1
1 2
1 3
1 5
1 1
1 2
1 3
1 6
1 1
1 2
1 3

output:

6
12
14
6

result:

ok 4 number(s): "6 12 14 6"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3900kb

input:

1
1000000000 1000000000
1 1
1 1
1000000000 1000000000

output:

2401

result:

ok 1 number(s): "2401"

Test #4:

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

input:

729
999999999 111111111
111111111 111111111
111111111 111111111
111111111 111111111
999999999 111111111
111111111 111111111
222222222 111111111
111111111 111111111
999999999 111111111
111111111 111111111
111111111 111111111
333333333 111111111
999999999 111111111
111111111 111111111
444444444 111111...

output:

0
0
0
0
0
0
6
-517189522
456790164
0
0
0
0
0
6
-2072745074
-739411744
135802502
0
0
0
0
6
-2072745074
-2072745074
-961633966
814814847
0
0
0
6
-2072745074
-2072745074
-2072745074
-1183856188
493827185
0
0
6
-2072745074
-2072745074
-2072745074
-2072745074
-1406078410
172839523
0
6
-2072745074
-207274...

result:

wrong answer 8th numbers differ - expected: '777777753', found: '-517189522'