Easy10 pts
Compare the Triplets
Alice and Bob each created a problem. You rate them 1–3. Compare a[0] with b[0], a[1] with b[1], a[2] with b[2]. If a[i] > b[i], Alice gets 1; if a[i] < b[i], Bob gets 1. Print [Alice score, Bob score] as two space-separated integers.
Input
Line 1: three integers (Alice). Line 2: three integers (Bob).
Output
Two space-separated integers: Alice's score, then Bob's.
Sample
5 6 7 3 6 10
Expected
1 1
Loading editor…
Output
No output yet. Run your code to see results.