Borderou de evaluare (job #1329366)

Utilizator SmarandaMaria Pandele Smaranda Data 29 ianuarie 2015 14:14:34
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int, int, int, int)’: user.cpp:132: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:134:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f1 >= aint [node].v.size ()) ^ user.cpp:127: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:209:38: warning: ‘f2’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = query (1, 1, n, f1, f2); ^ user.cpp:209:38: warning: ‘f1’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4152kbOK10
24ms4136kbKilled by signal 11(SIGSEGV).0
34ms4344kbKilled by signal 11(SIGSEGV).0
416ms8252kbKilled by signal 11(SIGSEGV).0
552ms16636kbKilled by signal 11(SIGSEGV).0
6220ms9388kbOK10
7260ms10024kbOK10
8104ms8248kbOK10
9220ms9388kbOK10
10192ms8440kbOK10
Punctaj total60

Ceva nu functioneaza?