Borderou de evaluare (job #1594747)

Utilizator SmarandaMaria Pandele Smaranda Data 9 februarie 2016 18:39:53
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:99:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:105:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) ^ user.cpp:121:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:143:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size () - 1; j ++) { ^ user.cpp:91:18: warning: unused variable ‘ok’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb; ^ user.cpp:91: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 member function ‘void myIfstream::advance()’: user.cpp:24:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buffer, 1, SIZE, input); ^ user.cpp: In function ‘int main()’: user.cpp:190: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: In constructor ‘myIfstream::myIfstream(const char*)’: user.cpp:31:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buffer, 1, SIZE, input); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms3596kbOk!10
240ms3956kbRaspuns Gresit!0
384ms4520kbRaspuns Gresit!0
4Depăşit18388kbTime limit exceeded.0
5Depăşit17780kbTime limit exceeded.0
6Depăşit19804kbTime limit exceeded.0
7Depăşit19044kbTime limit exceeded.0
8Depăşit19268kbTime limit exceeded.0
9Depăşit18944kbTime limit exceeded.0
10Depăşit18524kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?