Borderou de evaluare (job #1592336)

Utilizator akaprosAna Kapros akapros Data 7 februarie 2016 14:48:05
Problema Hacker2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs1(int)’: user.cpp:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void dfs(int)’: user.cpp:54:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void read_edge()’: user.cpp:19:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &yy, &c); ^ user.cpp: In function ‘void write()’: user.cpp:136:40: 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:140:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &p); ^ user.cpp: In function ‘void read()’: user.cpp:173:38: 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:174:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp: In function ‘void write()’: user.cpp:163:57: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d %d %d\n", q, son[q][0], k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2148kbRaspuns -mediocru- gresit!0
24ms2604kbRaspuns -mediocru- gresit!0
34ms2600kbRaspuns -mediocru- gresit!0
4368ms31168kbRaspuns -mediocru- gresit!0
5392ms32548kbRaspuns -mediocru- gresit!0
6420ms33560kbRaspuns -mediocru- gresit!0
7Depăşit47012kbTime limit exceeded.0
8Depăşit48876kbTime limit exceeded.0
9Depăşit46112kbTime limit exceeded.0
10Depăşit49616kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?