Borderou de evaluare (job #1700812)

Utilizator atatomirTatomir Alex atatomir Data 11 mai 2016 12:53:02
Problema Treemis Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void combine(std::vector<int>&, std::vector<int>&)’: user.cpp:42:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < source.size(); i++) ^ user.cpp: In function ‘void get_best(int)’: user.cpp:65:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < decr[ list[node][i] ]->size(); j++) { ^ user.cpp:80:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < decr[ list[node][i] ]->size(); j++) { ^ user.cpp: In function ‘void dfs(int)’: user.cpp:106:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < list[node].size(); i++) { ^ user.cpp:131:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < list[node].size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:145:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("treemis.in","r",stdin); ^ user.cpp:146:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("treemis.out","w",stdout); ^ user.cpp:148:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:149:48: 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", &v[i]); ^ user.cpp:151:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); x++; y++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1636kbOK1010
24ms1696kbOK1010
376ms5828kbOK100
488ms5752kbIncorect0
5256ms5080kbOK10
6100ms4692kbIncorect0
7164ms9780kbOK100
8208ms7752kbOK10
9176ms9828kbIncorect0
10Depăşit7884kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?