Borderou de evaluare (job #1240187)

Utilizator mirceadinoMircea Popoveniuc mirceadino Data 10 octombrie 2014 17:46:07
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:53:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < P.size(); i++) ^ user.cpp:56:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(d = 1; d < P.size(); d++) ^ user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i + d < P.size(); i++) { ^ user.cpp:71:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < P.size(); i++) ^ user.cpp:74:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(d = 1; d < P.size(); d++) ^ user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i + d < P.size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:102:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(inputFile.c_str(), "r", stdin); ^ user.cpp:103:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outputFile.c_str(), "w", stdout); ^ user.cpp:106:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:109:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms4424kbCool!10
212ms4416kbRaspuns gresit0
320ms4432kbRaspuns gresit0
428ms4436kbRaspuns gresit0
524ms4436kbRaspuns gresit0
632ms4432kbRaspuns gresit0
740ms4444kbRaspuns gresit0
832ms4432kbRaspuns gresit0
948ms4444kbRaspuns gresit0
1040ms4444kbCool!10
Punctaj total20

Ceva nu functioneaza?