QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#357006#6767. Hourly Coding Problemezteam1#TL 3ms246592kbC++144.9kb2024-03-18 17:23:522024-03-18 17:23:52

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 246592kb

input:

3
7 3
5 1 0 2 7 -3 4
6 4
-1 3 -2 4 -3 5
6 2
0 -2 0 -1 -1 0

output:

3 3 1
1 1 2 2
3 3

result:

ok 3 lines

Test #2:

score: -100
Time Limit Exceeded

input:

200178
2 1
5 -1
4 3
4 -7 -4 10
2 1
-6 -2
4 1
8 10 -9 10
4 2
10 -4 10 1
4 1
7 -1 4 3
4 1
7 -5 10 10
2 1
-7 9
3 2
3 3 4
4 4
-1 4 -9 -8
3 1
10 6 7
2 2
3 8
4 4
0 -9 -2 -9
2 1
9 -3
1 1
-3
3 3
-8 -7 -3
4 3
-2 -3 3 1
4 4
7 -5 4 0
3 2
2 6 3
5 1
7 -3 2 3 0
4 1
10 -8 -8 -4
1 1
-2
1 1
-2
3 2
1 -9 -5
2 1
-6 4
1...

output:


result: