Borderou de evaluare (job #1689673)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 aprilie 2016 14:35:16
Problema Hacker2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:20:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[act].size() ; ++i) ^ user.cpp: In function ‘void makeC(int, int, int&)’: user.cpp:37:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[act].size() ; ++i) ^ user.cpp: In function ‘int main()’: user.cpp:95:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker2.in" , "r" , stdin); ^ user.cpp:96:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker2.out" , "w" , stdout); ^ user.cpp:98:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n" , &n); ^ user.cpp:99:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n" , &q); ^ user.cpp:103:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:104:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &b); ^ user.cpp:105:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &c); ^ user.cpp:126:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:127:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3624kbBezea.10
28ms3828kbBezea.10
38ms3832kbBezea.10
4376ms19660kbBezea.10
5376ms20080kbBezea.10
6420ms21452kbBezea.10
7Depăşit29352kbTime limit exceeded.0
8Depăşit29956kbTime limit exceeded.0
9Depăşit29056kbTime limit exceeded.0
10Depăşit30484kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?