Borderou de evaluare (job #1384002)

Utilizator SmarandaMaria Pandele Smaranda Data 10 martie 2015 19:56:53
Problema Rubarba Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:33: warning: unused variable ‘c2’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:71:54: warning: unused variable ‘a1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:71:58: warning: unused variable ‘b1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("rubarba.in", "r", stdin); ^ user.cpp:74:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("rubarba.out", "w", stdout); ^ user.cpp:76:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:79:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lf%lf", &P [i].x, &P [i].y); ^ user.cpp:199:22: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (area - ans <= -eps) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbOk! You are better than Ionel!10
20ms328kbOk! You are better than Ionel!10
30ms336kbIonel rulz, you don't!0
40ms328kbOk! You are better than Ionel!10
58ms568kbIonel rulz, you don't!0
6108ms2668kbIonel rulz, you don't!0
7116ms2672kbIonel rulz, you don't!0
80ms328kbOk! You are better than Ionel!10
9116ms2668kbIonel rulz, you don't!0
100ms324kbOk! You are better than Ionel!10
Punctaj total50

Ceva nu functioneaza?