Logic 1 [Programming Competition Problems]

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

nice, I'm an elec eng 31years old. i started learning the syntax and functions in C yesterday, and i'm really excited about it. i think the magician will have to share the cards from the 1st row picked over all 4 rows then the second row picked will show him the card.

tollerest
Автор

yes I think I figured out how it works...
The magician is not mixing the cards randomly... he spreads out the row entries, each to different row...
If he does the mistake to keep 2 of the cards of the row in the same position, he is a bad magician because he can't figure out what the person chose.
The cheating volunteer is weird...you can only determine if he's cheating if you don't spread them all out but he chooses a row that the magician didn't touch...

erggish