Borderou de evaluare (job #1689640)

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

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:21: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:125:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:126: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
28ms3900kbBezea.10
38ms3896kbBezea.10
4Depăşit23196kbTime limit exceeded.0
5Depăşit23768kbTime limit exceeded.0
6Depăşit25292kbTime limit exceeded.0
7Depăşit34884kbTime limit exceeded.0
8Depăşit35708kbTime limit exceeded.0
9Depăşit34468kbTime limit exceeded.0
10Depăşit36332kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?