Borderou de evaluare (job #1700809)

Utilizator atatomirTatomir Alex atatomir Data 11 mai 2016 12:45:55
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:68:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < decr[ list[node][i] ]->size(); j++) { ^ user.cpp:84: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:108:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < list[node].size(); i++) { ^ user.cpp:135: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:149: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:150: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:152:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:153: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:155: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
14ms2812kbOK1010
24ms2872kbOK1010
376ms7040kbOK100
4100ms7340kbIncorect0
5256ms6396kbOK10
6104ms5872kbIncorect0
7160ms11020kbOK100
8216ms8928kbOK10
9196ms11840kbIncorect0
10Depăşit9904kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?