Borderou de evaluare (job #1689629)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 aprilie 2016 13:50:06
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:18: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:54: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:73: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:74: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:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n" , &n); ^ user.cpp:77:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n" , &q); ^ user.cpp:81:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:82:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &b); ^ user.cpp:83:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &c); ^ user.cpp:104:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &a); ^ user.cpp:105: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
14ms2048kbBezea.10
240ms2200kbBezea.10
344ms2204kbBezea.10
4Depăşit12904kbTime limit exceeded.0
5Depăşit13028kbTime limit exceeded.0
6Depăşit14172kbTime limit exceeded.0
7Depăşit19164kbTime limit exceeded.0
8Depăşit19368kbTime limit exceeded.0
9Depăşit19080kbTime limit exceeded.0
10Depăşit19692kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?