# Luogu P1008 - Triple hit

This problem has no inputs, and both mental calculation or programming are acceptable.

If $1,2,\cdots,9$ were split into $3$ disjoint groups and we use them to make three $3$-digit numbers $x,y,z$, such that $x:y:z=1:2:3$, then find all possible triples for $(x,y,z)$.

How to submit:

Find all possible triples for $(x,y,z)$, and submit $\displaystyle \sum (x+2y+4z)$.

Luogu Problem Set

×