![[codeforces] A. Football](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fbsar7t%2FbtqxHTCuAaX%2FAAAAAAAAAAAAAAAAAAAAAGXDo_UfIOhA94G_3_jKWvRXMrK9S3ebmzXnjiLtAWK9%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DsKDaWKs2KQu3TB%252B5k7xxadNOmAg%253D)
알고리즘(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,..