Borderou de evaluare (job #1618319)

Utilizator thewildnathNathan Wildenberg thewildnath Data 27 februarie 2016 19:31:19
Problema Arbvalmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int build1(int)’: user.cpp:18:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < f[nod].size(); ++i) { ^ user.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int build2(int)’: user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < f[nod].size(); ++i) { ^ user.cpp:39:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < f[nod].size(); ++i) { ^ user.cpp:48:37: warning: right operand of comma operator has no effect [-Wunused-value] dpRest[fiu] = dpRest[nod], p[nod]; ^ user.cpp:56:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:63:38: 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:64:40: 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:68:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t[i]); ^ user.cpp:74:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p[i]); ^ user.cpp:81:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3840kbOK10
24ms3836kbOK10
316ms3836kbOK10
412ms3832kbIncorect0
540ms4572kbOK10
6172ms7608kbOK10
7252ms9528kbOK10
8444ms13696kbOK10
9480ms14452kbOK10
10512ms15208kbOK10
Punctaj total90

Ceva nu functioneaza?