Borderou de evaluare (job #1595354)

Utilizator SmarandaMaria Pandele Smaranda Data 10 februarie 2016 11:04:26
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:120:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:129:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:152:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:177:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size () - 1; j ++) { ^ user.cpp:107:18: warning: unused variable ‘ok’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb, k, lim = 0; ^ user.cpp:107:22: warning: unused variable ‘edge’ [-Wunused-variable] int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb, k, lim = 0; ^ user.cpp: In member function ‘void myIfstream::advance()’: user.cpp:29: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:230: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:36: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
112ms3632kbOk!10
248ms4080kbRaspuns Gresit!0
3108ms4748kbRaspuns Gresit!0
4Depăşit21676kbTime limit exceeded.0
5Depăşit21752kbTime limit exceeded.0
6Depăşit23376kbTime limit exceeded.0
7Depăşit22460kbTime limit exceeded.0
8Depăşit22584kbTime limit exceeded.0
9Depăşit20704kbTime limit exceeded.0
10Depăşit21816kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?