QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#607464#7787. Maximum RatingZhaoZiLongRE 1ms5780kbC++143.3kb2024-10-03 14:59:032024-10-03 14:59:03

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5780kb

input:

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

output:

1
2
2
2
3

result:

ok 5 number(s): "1 2 2 2 3"

Test #2:

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

input:

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

output:

1
2
1
2
1

result:

ok 5 number(s): "1 2 1 2 1"

Test #3:

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

input:

1 1
1000000000
1 1000000000

output:

1

result:

ok 1 number(s): "1"

Test #4:

score: -100
Runtime Error

input:

1 1
-1000000000
1 -1000000000

output:


result: