Borderou de evaluare (job #1083204)

Utilizator blechereyalBlecher Eyal blechereyal Data 15 ianuarie 2014 18:45:56
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int cautare(int, int, int)’: user.cpp:12:12: error: ‘p’ was not declared in this scope while (p<=u) ^ user.cpp:12:15: error: ‘u’ was not declared in this scope while (p<=u) ^ user.cpp:15:13: error: ‘x’ was not declared in this scope if (x<a[start[middle]) ^ user.cpp:15:30: error: expected ‘]’ before ‘)’ token if (x<a[start[middle]) ^ user.cpp: In function ‘int main()’: user.cpp:29:16: error: ‘n’ was not declared in this scope for (int i=n-1;i>=0;i--) ^ user.cpp:41:41: error: expected ‘]’ before ‘)’ token if (a[start[lenght]<a[i]) ^ user.cpp:51:5: error: expected ‘;’ before ‘}’ token } ^

Ceva nu functioneaza?