Borderou de evaluare (job #2214828)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 20 iunie 2018 11:11:47
Problema Roboti2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:49:5: error: ‘s’ was not declared in this scope s[i] = s[i - 1] + carx[i]; ^ user.cpp:57:5: error: ‘p1’ was not declared in this scope p1 = mn[l + 1]; ^~ user.cpp:58:5: error: ‘p2’ was not declared in this scope p2 = mx[n - l]; ^~ user.cpp:60:11: error: ‘s’ was not declared in this scope if (s[i + l - 1] - s[i - 1]) { ^ user.cpp:64:13: error: ‘sol’ was not declared in this scope fout << sol; ^~~ user.cpp:70:22: error: ‘caut’ was not declared in this scope fout << caut (k) << '\n'; ^

Ceva nu functioneaza?