Borderou de evaluare (job #1342449)

Utilizator thewildnathNathan Wildenberg thewildnath Data 14 februarie 2015 01:03:01
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:21:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v[nod].size (); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:35:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("radare.in", "r", stdin); ^ user.cpp:36:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("radare.out", "w", stdout); ^ user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &p); ^ user.cpp:43:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^ user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms348kbOK10
20ms364kbOK10
30ms376kbOK10
40ms1240kbIncorect0
50ms1816kbIncorect0
64ms1944kbIncorect0
7116ms35044kbIncorect0
8168ms41420kbIncorect0
9152ms41304kbKilled by signal 11(SIGSEGV).0
1020ms4600kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?