QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#161184#7105. Pixel Artucup-team864#TL 6ms45304kbC++202.5kb2023-09-02 22:51:572023-09-02 22:51:57

详细

Test #1:

score: 100
Accepted
time: 6ms
memory: 45304kb

input:

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

output:

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

result:

ok 7 lines

Test #2:

score: -100
Time Limit Exceeded

input:

2130
2 5 2
1 1 1 2
2 3 2 5
2 5 2
1 1 1 3
2 3 2 5
3 3 3
1 1 1 2
3 1 3 2
1 3 2 3
3 100 51
1 2 2 2
1 4 2 4
1 6 2 6
1 8 2 8
1 10 2 10
1 12 2 12
1 14 2 14
1 16 2 16
1 18 2 18
1 20 2 20
1 22 2 22
1 24 2 24
1 26 2 26
1 28 2 28
1 30 2 30
1 32 2 32
1 34 2 34
1 36 2 36
1 38 2 38
1 40 2 40
1 42 2 42
1 44 2 44
...

output:

2 1
5 2
3 1
6 1
3 1
4 1
6 2
50 50
100 50
200 50
50 50
150 1
200 1
2 1
4 1
6 2
8 2
10 3
12 3
14 4
16 4
18 5
20 5
22 6
24 6
26 7
28 7
30 8
32 8
34 9
36 9
38 10
40 10
42 11
44 11
46 12
48 12
50 13
52 13
54 14
56 14
58 15
60 15
62 16
64 16
66 17
68 17
70 18
72 18
74 19
76 19
78 20
80 20
82 21
84 21
86 2...

result: