Borderou de evaluare (job #588952)

Utilizator drywaterLazar Vlad drywater Data 10 mai 2011 10:34:18
Problema 2SAT Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:103:2: warning: no newline at end of file user.cpp:4: error: 'int index' redeclared as different kind of symbol /usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)' user.cpp: In function 'int caut(int)': user.cpp:19: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:20: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:23: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()' user.cpp:23: error: lvalue required as increment operand user.cpp: In function 'int main()': user.cpp:67: error: assignment of function 'char* index(const char*, int)' user.cpp:67: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment

Ceva nu functioneaza?