You are viewing a single comment's thread. Return to all comments →
I got the correct answer, but it's showing that my answer is wrong. How?
Input (stdin)
4
12 8 3
10 3 3
9 10 2
Your Output (stdout)
8 3 1
-1
8 1
Expected Output
2 3 7
5 4
1 8
I don't understand.
Bonetrousle
You are viewing a single comment's thread. Return to all comments →
I got the correct answer, but it's showing that my answer is wrong. How?
Input (stdin)
4
12 8 3
10 3 3
9 10 2
9 10 2
Your Output (stdout)
8 3 1
-1
8 1
8 1
Expected Output
2 3 7
-1
5 4
1 8
I don't understand.