QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#302890#5052. Rectangle Flip 2ucup-team1005#WA 0ms3900kbC++201.3kb2024-01-11 14:53:542024-01-11 14:53:55

详细

Test #1:

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

input:

2 2
1 1
2 1
1 2
2 2

output:

5
3
1
0

result:

ok 4 number(s): "5 3 1 0"

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3868kb

input:

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

output:

145
117
93
84
70
65
60
54
45
42
38
31
26
24
21
18
14
13
10
8
6
4
2
1
0

result:

wrong answer 1st numbers differ - expected: '153', found: '145'