Borderou de evaluare (job #1594774)

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

Raport evaluator

Compilare: In file included from /usr/include/c++/4.8/backward/hash_map:60:0, from user.cpp:4: /usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ 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:120:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [i].size (); ++ j) { ^ user.cpp:142: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:189: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
160ms35424kbOk!10
280ms35636kbOk!10
3124ms35900kbOk!10
4Depăşit48096kbTime limit exceeded.0
5Depăşit48404kbTime limit exceeded.0
6Depăşit49280kbTime limit exceeded.0
7Depăşit47736kbTime limit exceeded.0
8Depăşit47520kbTime limit exceeded.0
9Depăşit47496kbTime limit exceeded.0
10Depăşit48236kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?