Borderou de evaluare (job #1859746)

Utilizator DanyBvGeorge-Daniel Gagiu DanyBv Data 27 ianuarie 2017 20:10:33
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:38:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[x].size(); i++) ^ user.cpp: In function ‘void rezolvare()’: user.cpp:50:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[S[i]].size(); j++) ^ user.cpp:56:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < S.size(); i++) ^ user.cpp:60:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < Gp[S[i]].size(); j++) ^ user.cpp: In function ‘void citire()’: user.cpp:18:36: 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:19: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:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &C[i]); ^ user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK!10
20ms432kbOK!10
30ms444kbOK!10
40ms432kbOK!10
50ms500kbOK!10
60ms492kbOK!10
70ms436kbOK!10
80ms452kbOK!10
90ms452kbOK!10
100ms436kbOK!10
Punctaj total100

Ceva nu functioneaza?