Borderou de evaluare (job #2911710)

Utilizator anghelpatrickPatrick Anghel anghelpatrick Data 1 iulie 2022 13:59:05
Problema Palindrom2 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:26:16: error: 'l' was not declared in this scope 26 | while( l != 0 && a[i] != a[l+1]) | ^ main.cpp:28:23: error: 'l' was not declared in this scope 28 | if( a[i] == a[l+1] ) | ^ main.cpp:30:16: error: 'l' was not declared in this scope 30 | p[i] = l ; | ^ main.cpp:33:5: error: 'l' was not declared in this scope 33 | l = 0 ; | ^ Non zero exit status: 1

Ceva nu functioneaza?