Borderou de evaluare (job #1384017)

Utilizator SmarandaMaria Pandele Smaranda Data 10 martie 2015 20:06:47
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:75:33: warning: unused variable ‘c2’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:75:54: warning: unused variable ‘a1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:75:58: warning: unused variable ‘b1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1; ^ user.cpp:77: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:78: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:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:83: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:204:22: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (area - ans <= -eps) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbOk! You are better than Ionel!10
20ms348kbOk! You are better than Ionel!10
30ms344kbIonel rulz, you don't!0
40ms344kbOk! You are better than Ionel!10
512ms584kbIonel rulz, you don't!0
6124ms2688kbIonel rulz, you don't!0
7132ms2688kbIonel rulz, you don't!0
80ms348kbOk! You are better than Ionel!10
9132ms2684kbIonel rulz, you don't!0
100ms344kbOk! You are better than Ionel!10
Punctaj total50

Ceva nu functioneaza?