Borderou de evaluare (job #1594700)

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

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:68:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:74:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) ^ user.cpp:89:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:111:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size () - 1; j ++) { ^ user.cpp:60:18: warning: unused variable ‘ok’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb; ^ user.cpp:60: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:157: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:158: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:160: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
112ms3700kbOk!10
240ms3956kbRaspuns Gresit!0
396ms4552kbRaspuns Gresit!0
4Depăşit18276kbTime limit exceeded.0
5Depăşit17824kbTime limit exceeded.0
6Depăşit19764kbTime limit exceeded.0
7Depăşit19084kbTime limit exceeded.0
8Depăşit19044kbTime limit exceeded.0
9Depăşit18832kbTime limit exceeded.0
10Depăşit18312kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?