Tag: problem: (B) The number on the board Solve In C/C++

Codeforces Round #427 (Div. 2), problem: (B) The number on the board Solution In C/C++

#include <stdio.h> int k, c, d, ans; main() { scanf(“%d”, &k); getchar(); while ((c = getchar() – ‘0’) >= 0) d++, k -= c; for(c...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!