Borderou de evaluare (job #1344647)

Utilizator SmarandaMaria Pandele Smaranda Data 16 februarie 2015 21:23:04
Problema Geometrie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:39: warning: variable ‘sol1’ set but not used [-Wunused-but-set-variable] int n, i, k, a, b, c, l, r, g, j, sol1, sol2; ^ user.cpp:55:45: warning: variable ‘sol2’ set but not used [-Wunused-but-set-variable] int n, i, k, a, b, c, l, r, g, j, sol1, sol2; ^ user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("geom.in", "r", stdin); ^ user.cpp:59:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("geom.out", "w", stdout); ^ user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &g); ^ user.cpp:69:43: 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:103:23: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (dist1 - ans <= -eps) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms300kbWrong0
28ms300kbWrong0
34ms296kbWrong0
44ms304kbWrong0
512ms300kbWrong0
616ms300kbWrong0
724ms300kbWrong0
824ms300kbWrong0
924ms300kbWrong0
1024ms304kbWrong0
11996ms300kbWrong0
12Depăşit288kbTime limit exceeded.0
13980ms300kbWrong0
141000ms308kbWrong0
15968ms304kbWrong0
16Depăşit264kbTime limit exceeded.0
17Depăşit264kbTime limit exceeded.0
18Depăşit268kbTime limit exceeded.0
19Depăşit264kbTime limit exceeded.0
20Depăşit264kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?