Borderou de evaluare (job #383158)

Utilizator wscsprint3rIrimescu Stefan wscsprint3r Data 15 ianuarie 2010 20:44:01
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6: error: conflicting declaration 'long int s' user.cpp:6: error: 's' has a previous declaration as 'long int s [50005]' user.cpp: In function 'void find()': user.cpp:24: error: ISO C++ forbids comparison between pointer and integer user.cpp:27: error: incompatible types in assignment of 'long int' to 'long int [50005]' user.cpp:38: error: ISO C++ forbids comparison between pointer and integer user.cpp:41: error: incompatible types in assignment of 'long int' to 'long int [50005]' user.cpp: In function 'int main()': user.cpp:63: error: expected `)' before ';' token user.cpp:63: error: expected primary-expression before ')' token user.cpp:63: error: expected `;' before ')' token user.cpp:71: warning: format '%ld' expects type 'long int', but argument 4 has type 'long int*' user.cpp:73: warning: format '%ld' expects type 'long int', but argument 4 has type 'long int*'

Ceva nu functioneaza?