Borderou de evaluare (job #693295)

Utilizator informatician28Andrei Dinu informatician28 Data 27 februarie 2012 11:37:48
Problema Iepuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void readinput()’: user.cpp:17: warning: comparison between signed and unsigned integer expressions user.cpp:23: error: name lookup of ‘i’ changed for ISO ‘for’ scoping user.cpp:23: note: (if you use ‘-fpermissive’ G++ will accept your code) user.cpp:23: warning: comparison between signed and unsigned integer expressions user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void go(unsigned int)’: user.cpp:31: warning: comparison between signed and unsigned integer expressions user.cpp:37: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘void writeoutput()’: user.cpp:53: warning: comparison between signed and unsigned integer expressions user.cpp:59: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?