Codeforces Round #392 (Div. 2), problem: (D) Ability To Convert Solution in C/C++
#include <stdio.h> #include <string.h> int main() { static char s; static long long dp; int n, i, j, l; long long a, b; scanf(“%d”, &n); scanf(“%s”, s); l = strlen(s); for (i = 0; i …