Borderou de evaluare (job #3033249)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 23 martie 2023 17:26:12
Problema Zuma Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solve(int, int, int)': main.cpp:15:27: error: 'k' was not declared in this scope 15 | if(cnt >= k) | ^ main.cpp:23:19: error: 'k' was not declared in this scope 23 | if(cnt >= k) | ^ main.cpp: In function 'int main()': main.cpp:36:21: error: 'k' was not declared in this scope 36 | cin >> n >> k >> s; | ^ main.cpp:37:16: error: 'memo' was not declared in this scope 37 | memset(memo, -1, sizeof(memo)); | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?