Codeforces Round #392 (Div. 2), problem: (B) Blown Garland Solution in C/C++

By | 2017-04-08T14:08:28+00:00 January 20th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

[amazon_link asins='0789751984,0321563840,0321776410,B00EJ4SQ36,0262162091,0321563840,0789751984,1534679707,0131103628,0321776410' template='ProductCarousel' store='eblogarithm-20' marketplace='US' link_id='79c02f8c-1c32-11e7-b0b4-817d87f7d431']   #include <stdio.h> #include <string.h> int cnt(char *s, char c) { int l, i, j, k; l = strlen(s); j = -1; for (i = 0; i < l; i++) if (s[i] == c) { j = i [...]