Borderou de evaluare (job #2364501)

Utilizator juniorOvidiu Rosca junior Data 4 martie 2019 09:21:05
Problema Arc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:34:11: error: 'l' was not declared in this scope l = j - i; ^ main.cpp:36:25: error: 'pmax' was not declared in this scope lmax = l; pmax = i; ^~~~ main.cpp:40:7: error: 'ls' was not declared in this scope ls = lmax; stop = false; ps = pmax; ^~ main.cpp:40:32: error: 'ps' was not declared in this scope ls = lmax; stop = false; ps = pmax; ^~ main.cpp:40:37: error: 'pmax' was not declared in this scope ls = lmax; stop = false; ps = pmax; ^~~~ main.cpp:43:18: error: 's' was not declared in this scope for (s = ps + ls, d = ps; s <= n + 1; s++, d++) ^ main.cpp:43:31: error: 'd' was not declared in this scope for (s = ps + ls, d = ps; s <= n + 1; s++, d++) ^ main.cpp:47:28: error: 'gata' was not declared in this scope stop = true; gata = true; ^~~~ main.cpp:53:17: error: 's' was not declared in this scope s = ps - 1; ^ main.cpp:57:17: error: 'd' was not declared in this scope d = ps + 1; ^ main.cpp:71:9: error: 'gata' was not declared in this scope gata = true; ^~~~ main.cpp:73:18: error: 'gata' was not declared in this scope } while (not gata); ^~~~ Non zero exit status: 1

Ceva nu functioneaza?