Borderou de evaluare (job #383518)

Utilizator indestructiblecont de teste indestructible Data 16 ianuarie 2010 19:19:34
Problema Nums Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘bool comp(int, int)’: user.cpp:54: error: cannot convert ‘std::vector<int, std::allocator<int> >’ to ‘const char*’ for argument ‘1’ to ‘int strcmp(const char*, const char*)’ user.cpp: In function ‘int pure(int)’: user.cpp:94: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘void solve()’: user.cpp:110: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:118: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:119: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?