Borderou de evaluare (job #1594645)

Utilizator SmarandaMaria Pandele Smaranda Data 9 februarie 2016 17:17:10
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int getFather(int)’: user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void solve()’: user.cpp:64:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:70:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) ^ user.cpp:85:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:102:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size () - 1; j ++) { ^ user.cpp:58:18: warning: unused variable ‘ok’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb; ^ user.cpp:58:22: warning: unused variable ‘edge’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb; ^ user.cpp: In function ‘void read()’: user.cpp:30: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:32:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &a, &b, &c); ^ user.cpp: In function ‘int main()’: user.cpp:148:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ulei.in", "r", stdin); ^ user.cpp:149:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ulei.out", "w", stdout); ^ user.cpp:151:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms3708kbRaspuns Gresit!0
236ms4184kbRaspuns Gresit!0
3108ms6092kbRaspuns Gresit!0
4Depăşit34436kbTime limit exceeded.0
51440ms22604kbRaspuns Gresit!0
6Depăşit35048kbTime limit exceeded.0
7Depăşit35852kbTime limit exceeded.0
8Depăşit36232kbTime limit exceeded.0
9Depăşit34240kbTime limit exceeded.0
10Depăşit34228kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?