Codeforces Round #392 (Div. 2), problem: (D) Ability To Convert Solution in C/C++

By | 2017-04-07T22:10:19+00:00 January 20th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include <stdio.h> #include <string.h> int main() { static char s[128]; static long long dp[128]; int n, i, j, l; long long a, b; scanf("%d", &n); scanf("%s", s); l = strlen(s); for (i = 0; i < l; i++) dp[i] = 1e18 + 1; for [...]