Borderou de evaluare (job #1700810)

Utilizator atatomirTatomir Alex atatomir Data 11 mai 2016 12:48:53
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
10ms1648kbOK1010
24ms1708kbOK1010
376ms5836kbOK100
488ms5752kbIncorect0
5240ms5084kbOK10
6100ms4700kbIncorect0
7156ms9784kbOK100
8204ms7756kbOK10
9176ms9844kbIncorect0
10Depăşit8412kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?