Problem streakmanipulation
User ThePwo
Submission Time 2023-12-13 11:58:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

streakmanipulation.cpp: In function ‘int32_t main()’:
streakmanipulation.cpp:10:23: error: ‘n’ was not declared in this scope
10 | for (int i = 0; i < n; i++) if (s[i] == '1') b = false;
| ^
streakmanipulation.cpp:10:35: error: ‘s’ was not declared in this scope
10 | for (int i = 0; i < n; i++) if (s[i] == '1') b = false;
| ^
streakmanipulation.cpp:12:8: error: ‘n’ was not declared in this scope
12 | if (n >= (k + k - 1) && m >= k) {
| ^
streakmanipulation.cpp:12:14: error: ‘k’ was not declared in this scope
12 | if (n >= (k + k - 1) && m >= k) {
| ^
streakmanipulation.cpp:12:28: error: ‘m’ was not declared in this scope
12 | if (n >= (k + k - 1) && m >= k) {
| ^