Borderou de evaluare (job #1681068)

Utilizator ZenusTudor Costin Razvan Zenus Data 9 aprilie 2016 11:22:39
Problema Rege2 Status done
Runda Grigore Moisil 2016 Clasele a 11-12 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:14:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[act].size() ; ++i) ^ user.cpp:17:13: warning: unused variable ‘p’ [-Wunused-variable] int p = g[act][i].second; ^ user.cpp:24: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:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rege2.in" , "r" , stdin); ^ user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rege2.out" , "w" , stdout); ^ user.cpp:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d" , &T) ; T ; --T) ^ user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:59:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &s); ^ user.cpp:64:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x); ^ user.cpp:65:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &y); ^ user.cpp:66:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2020kbOK10
24ms2020kbOK10
34ms2024kbOK10
412ms2048kbOK10
532ms2204kbOK10
684ms2596kbOK10
7384ms3816kbOK10
8380ms3836kbOK10
9384ms3840kbOK10
10416ms4032kbOK10
Punctaj total100

Ceva nu functioneaza?