QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#317843#6414. Classical Maximization ProblemZhaoZiLongWA 119ms12008kbC++113.3kb2024-01-29 20:19:312024-01-29 20:19:32

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 11024kb

input:

3
2
0 0
0 1
1 0
1 1
2
0 0
0 1
0 2
0 3
2
0 0
1 1
2 2
3 3

output:

2
2 4
3 1
2
2 1
4 3
0
1 2
3 4

result:

ok ok (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 119ms
memory: 12008kb

input:

10000
2
-107276936 -310501829
419434212 585811870
-65754386 -491212232
381152038 897148193
3
-474045168 493506332
299114415 540203303
165808153 983551
-506936261 -694189769
766718170 -725540031
975267148 -593051087
1
-818952276 -762387923
584023914 -612401389
6
-77701228 -266484128
659434465 6322062...

output:

0
1 3
4 2
2
3 4
4 1
2 5
2 6
2
3 1
2 2
0
9 7
11 1
4 6
8 12
2 10
5 3
8
8 12
7 8
10 3
5 11
2 5
1 3
7 12
9 13
6 11
4 14
4 9
2
6 2
5 1
0
54 1
45 16
35 46
26 33
65 44
5 29
22 20
39 10
9 61
32 21
47 31
43 50
37 12
6 2
62 13
3 11
19 58
51 27
18 24
17 52
23 34
28 49
14 41
25 48
40 63
38 42
59 55
30 60
57 8
5...

result:

wrong answer point 4 used twice (test case 2)