TOPIC

Tips : why I got 5% WA

Boyiddha_ asked 3 years ago

Hints : same color balloons may contains in input at different position.

input :

5

blue 3

black 5

red 1

blue 3

yellow 4

expected output :

10090080

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.