100 tenge There are (N) number of coins on table. Some of them are tails and some are heads. How many coins do we need to turn around so that all coins be of the same side? We have total number of coins (N). Next N rows contain the numbers 1 (if a coin is up tail) or 0 lif a coin is up head). Find the minimum number of coins that you must turn.​

vanyaevsik vanyaevsik    2   22.04.2020 13:34    52

Другие вопросы по теме Информатика