Codeforces Round #426 (Div. 2), problem: (E) Ever-Hungry Krakozyabra Solution In C/C++

By |2017-08-04T12:30:50+00:00August 4th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include <stdio.h> #include <stdlib.h> #include <string.h> #define N 19 char strL[N+1], strR[N+1]; int l, r, i, n, j, sum, k; int bufL[N] = {0}, bufR[N] = {0}; int *L, *R; int num[10] = {0}, has[10] = {0}; int ok(void) { if(n == 0) { [...]