Borderou de evaluare (job #1434441)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 10 mai 2015 17:01:58
Problema Arbvalmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Dfs(int)’: user.cpp:17:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[Nod].size(); ++i){ ^ user.cpp: In function ‘void Dfs2(int)’: user.cpp:37:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<q[Nod].size(); ++i){ ^ user.cpp:42:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[Nod].size(); ++i){ ^ user.cpp: In function ‘int main()’: user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbvalmax.in", "r", stdin); ^ user.cpp:54:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbvalmax.out", "w", stdout); ^ user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:62:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a[i], &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms7368kbOK10
212ms7368kbOK10
316ms7568kbOK10
420ms7572kbOK10
544ms8536kbOK10
6184ms12832kbOK10
7280ms15600kbOK10
8488ms21736kbOK10
9524ms22824kbOK10
10568ms23752kbOK10
Punctaj total100

Ceva nu functioneaza?