Borderou de evaluare (job #1328973)

Utilizator geniucosOncescu Costin geniucos Data 28 ianuarie 2015 22:03:56
Problema Split3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘point Get(point, std::vector<point>, double)’: user.cpp:85:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<sir.size() - 1; i++) ^ user.cpp: In function ‘int main()’: user.cpp:155:45: warning: variable ‘stanga_tr’ set but not used [-Wunused-but-set-variable] double stanga, dreapta, curr_triangle_area, stanga_tr, dreapta_tr, rap_baze; ^ user.cpp:183:19: warning: unused variable ‘ras’ [-Wunused-variable] double p, u, mij, ras, first_angle = deter (0.0); ^ user.cpp:122:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("split3.in", "r", stdin); ^ user.cpp:123:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("split3.out", "w", stdout); ^ user.cpp:125:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:127:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lf %lf", &A[i].x, &A[i].y); ^ user.cpp:128:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lf %lf", &pct.x, &pct.y); ^ user.cpp: In function ‘point Get(point, std::vector<point>, double)’: user.cpp:83:9: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] int pos; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1128kbOK!10
20ms1132kbOK!10
30ms1156kbOK!10
48ms1300kbCele 4 poligoane nu au arie egale0
520ms1336kbOK!10
640ms1752kbCele 4 poligoane nu au arie egale0
7100ms2300kbCele 4 poligoane nu au arie egale0
8112ms2652kbCele 4 poligoane nu au arie egale0
9100ms2300kbCele 4 poligoane nu au arie egale0
10112ms2688kbCele 4 poligoane nu au arie egale0
Punctaj total40

Ceva nu functioneaza?