Borderou de evaluare (job #1922052)

Utilizator ZenusTudor Costin Razvan Zenus Data 10 martie 2017 15:50:26
Problema Autobuze3 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:19:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[act].size() ; ++i) ^ 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:43:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0 ; k < in[bus[nxt]].size() ; ++k) ^ user.cpp: In function ‘int main()’: user.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.in" , "r" , stdin); ^ user.cpp:62:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.out" , "w" , stdout); ^ user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d" , &tests) ; tests ; --tests) ^ user.cpp:66:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:67:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &m); ^ user.cpp:73:86: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &edge[i].second.first , &edge[i].second.second , &edge[i].first); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11220ms22004kbRespect maxim!100
Punctaj total100

Ceva nu functioneaza?