Fácil10 pts
Compare the Triplets
Traducción al español en progresoEl contenido detallado de esta lección aún se está traduciendo. Mientras tanto, se muestra en inglés.
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.
Entrada
Line 1: three integers (Alice). Line 2: three integers (Bob).
Salida
Two space-separated integers: Alice's score, then Bob's.
Ejemplo
5 6 7 3 6 10
Esperado
1 1
Loading editor…
Resultado
Sin salida aún. Ejecuta tu código para ver resultados.