Borderou de evaluare (job #1492703)

Utilizator tudormaximTudor Maxim tudormaxim Data 27 septembrie 2015 23:51:59
Problema Plan Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void dfs1(int)’: user.cpp:12:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[nod].size(); i++) ^ user.cpp: In function ‘void dfs2(int)’: user.cpp:20:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<gt[nod].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:28:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, x, y; ^ user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plan.in", "r", stdin); ^ user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plan.out", "w", stdout); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbRaspuns gresit0
20ms464kbRaspuns gresit0
30ms460kbRaspuns gresit0
40ms452kbCorect10
50ms456kbRaspuns gresit0
60ms456kbCorect10
70ms464kbRaspuns gresit0
80ms452kbRaspuns gresit0
90ms460kbRaspuns gresit0
100ms460kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?