Borderou de evaluare (job #1605928)

Utilizator SmarandaMaria Pandele Smaranda Data 19 februarie 2016 16:50:23
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:104: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:136:12: warning: unused variable ‘xx2’ [-Wunused-variable] int i, xx2, st, dr, m, f1, f2, ans, T, t; ^ user.cpp:139:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("arbsat.in", "r", stdin); ^ user.cpp:140: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:142:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^ user.cpp:144:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:146:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &P [i].x, &P [i].y); ^ user.cpp:295:50: warning: ‘f2’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = query (1, 1, n, f1, f2); ^ user.cpp:295:50: warning: ‘f1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9672kbIncorect0
212ms9684kbOK10
324ms10028kbOK10
424ms9992kbOK10
576ms11116kbOK10
6360ms16872kbOK10
7Depăşit30048kbTime limit exceeded.0
8Depăşit42604kbTime limit exceeded.0
9Depăşit49296kbTime limit exceeded.0
10Depăşit50232kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?