Borderou de evaluare (job #1329622)

Utilizator SmarandaMaria Pandele Smaranda Data 29 ianuarie 2015 18:37:55
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int, int, int, int)’: user.cpp:136:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (f1 < 0 || (f1 >= 0 && f1 < aint [node].v.size () && aint [node].v [f1].y < yy1 )) { ^ user.cpp:138:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f1 >= aint [node].v.size ()) ^ user.cpp:129:21: warning: unused variable ‘numst’ [-Wunused-variable] int m, ans = 0, numst = 0, nf1, nf2; ^ user.cpp: In member function ‘void Myifstream::advance()’: user.cpp:46:47: 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 constructor ‘Myifstream::Myifstream(const char*)’: user.cpp:53: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 member function ‘Myifstream& Myifstream::operator>>(int&)’: user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp: In function ‘int main()’: user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:57:18: note: ‘semn’ was declared here char semn; ^ user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:57:18: note: ‘semn’ was declared here char semn; ^ user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:57:18: note: ‘semn’ was declared here char semn; ^ user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:57:18: note: ‘semn’ was declared here char semn; ^ user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:57:18: note: ‘semn’ was declared here char semn;
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms37916kbOK10
2Depăşit37892kbTime limit exceeded.0
360ms38156kbOK10
4Depăşit38364kbTime limit exceeded.0
5Depăşit42212kbTime limit exceeded.0
6256ms42648kbOK10
7256ms42496kbOK10
8112ms39176kbOK10
9204ms42496kbOK10
10196ms42232kbOK10
Punctaj total70

Ceva nu functioneaza?