QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#94005#2353. Maharajas are Going HomelquoWA 621ms23280kbC++143.6kb2023-04-04 19:53:052023-04-04 19:53:08

详细

Test #1:

score: 100
Accepted
time: 621ms
memory: 23224kb

input:

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

output:

3 1 1
-1 -1 -1
2 1 1

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 617ms
memory: 23036kb

input:

1
1
1 1

output:

-1 -1 -1

result:

ok single line: '-1 -1 -1'

Test #3:

score: -100
Wrong Answer
time: 608ms
memory: 23280kb

input:

100
1
5 5
1
1 5
1
5 4
1
4 4
1
2 2
1
5 3
1
4 5
1
2 4
1
4 1
1
3 2
1
3 2
1
1 4
1
2 5
1
4 2
1
5 3
1
5 5
1
4 2
1
3 4
1
3 4
1
4 2
1
3 1
1
1 5
1
1 4
1
4 1
1
4 5
1
2 5
1
5 1
1
4 1
1
2 4
1
2 5
1
3 4
1
2 5
1
5 4
1
4 4
1
2 3
1
3 4
1
5 4
1
1 3
1
3 4
1
1 5
1
5 1
1
2 3
1
3 1
1
1 1
1
5 2
1
2 5
1
1 4
1
3 3
1
4 3
1
...

output:

1 1 1
-1 2005 2005
1 4 2
1 1 1
1 1 1
1 4 2
1 2 4
-1 -1 -1
-1 2005 2005
1 1 1
1 1 1
-1 2005 2005
-1 2005 2005
-1 -1 -1
1 4 2
1 1 1
-1 -1 -1
-1 2005 2005
-1 2005 2005
-1 -1 -1
-1 2005 2005
-1 2005 2005
-1 2005 2005
-1 2005 2005
1 2 4
-1 2005 2005
-1 2005 2005
-1 2005 2005
-1 -1 -1
-1 2005 2005
-1 2005...

result:

wrong answer 2nd lines differ - expected: '1 1 1', found: '-1 2005 2005'