QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#618043#7738. Equivalent RewritingMaMengQiWA 1ms9716kbC++231.7kb2024-10-06 18:17:422024-10-06 18:17:42

詳細信息

Test #1:

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

input:

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

output:

Yes
1 3 2 
No
No

result:

ok OK. (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 7720kb

input:

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

output:

Yes
2 1 3 4 56 7 8 9 10 Yes
1 3 2 4 56 7 8 9 10 Yes
1 2 4 3 56 7 8 9 10 Yes
1 2 3 5 46 7 8 9 10 Yes
1 2 3 4 65 7 8 9 10 Yes
1 2 3 4 57 6 8 9 10 Yes
1 2 3 4 56 8 7 9 10 

result:

wrong answer Integer parameter [name=q_i] equals to 56, violates the range [1, 10] (test case 1)