반응형
[codeforces] A. Football
알고리즘(Python,Java)2019. 8. 24. 16:42[codeforces] A. Football

problem Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a piece of paper. To simplify the situation he depicted it as a string consisting of zeroes and ones. A zero corresponds to players of one team; a one corresponds to players of another team. If there are at least 7 players of some team standing one after another,..

반응형
image