Borderou de evaluare (job #1605888)

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

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
112ms9668kbOK10
212ms9684kbIncorect0
312ms9844kbKilled by signal 11(SIGSEGV).0
412ms9856kbKilled by signal 11(SIGSEGV).0
520ms10620kbKilled by signal 11(SIGSEGV).0
684ms14844kbKilled by signal 11(SIGSEGV).0
7144ms24640kbKilled by signal 11(SIGSEGV).0
8452ms37640kbKilled by signal 11(SIGSEGV).0
9512ms44160kbKilled by signal 11(SIGSEGV).0
10480ms43752kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?