Borderou de evaluare (job #1339797)

Utilizator bobbychivescuChivescu Bogdan-Andrei bobbychivescu Data 11 februarie 2015 10:21:14
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void bfs(int)’: user.cpp:16:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<g[i].size(); ++j){ ^ user.cpp: In function ‘void bfst(int)’: user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<gt[i].size(); ++j){ ^ user.cpp: In function ‘int main()’: user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.in", "r", stdin); ^ user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.out", "w", stdout); ^ user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; ++i)scanf("%d", &d[i]); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m[i]); ^ user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK!10
20ms276kbOK!10
30ms280kbOK!10
40ms280kbOK!10
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
70ms284kbOK!10
88msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
100ms272kbOK!10
Punctaj total60

Ceva nu functioneaza?