ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1573. Alchemy

I didn't thoght it would be so easy
Posted by SIAL_alky 5 Aug 2012 22:16
just the rule of multiplication in combinatorics...
Re: I didn't thoght it would be so easy
Posted by SIAL_alky 5 Aug 2012 22:17
just one problem - the sequence of colors, but many 'if's will save the World!
Re: I didn't thoght it would be so easy
Posted by Mahilewets Nikita 29 Jul 2018 22:56
Use set data structure
Add each color from input to a set
Check the set for red, blue and yellow