Borderou de evaluare (job #1605929)

Utilizator SmarandaMaria Pandele Smaranda Data 19 februarie 2016 16:52:13
Problema Arbsat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int, int, int, int)’: user.cpp:142:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (f1 >= 0 && f1 < aint [node].v.size () && aint [node].v [f1].y < yy1) ^ user.cpp: In function ‘int main()’: user.cpp:176:12: warning: unused variable ‘xx2’ [-Wunused-variable] int i, xx2, st, dr, m, f1, f2, ans, T, t; ^ user.cpp:179:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("arbsat.out", "w", stdout); ^ user.cpp: In member function ‘void Myifstream::advance()’: user.cpp:18: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:25: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:35:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp: In function ‘int main()’: user.cpp:35:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:29:18: note: ‘semn’ was declared here char semn; ^ user.cpp:35:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:29:18: note: ‘semn’ was declared here char semn; ^ user.cpp:35:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (semn == '-') ^ user.cpp:29:18: note: ‘semn’ was declared here char semn; ^ user.cpp:334:50: warning: ‘f2’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = query (1, 1, n, f1, f2); ^ user.cpp:334:50: warning: ‘f1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9644kbIncorect0
212ms9652kbOK10
320ms10032kbOK10
424ms9988kbOK10
568ms11148kbOK10
6316ms16936kbOK10
7Depăşit30784kbTime limit exceeded.0
8Depăşit42728kbTime limit exceeded.0
9Depăşit49312kbTime limit exceeded.0
10Depăşit53008kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?