Borderou de evaluare (job #1384086)

Utilizator SmarandaMaria Pandele Smaranda Data 10 martie 2015 20:57:16
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:53:10: warning: unused variable ‘flag’ [-Wunused-variable] bool flag = 0; ^ user.cpp:54:54: warning: unused variable ‘a1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1, x1, y1, x2, y2; ^ user.cpp:54:58: warning: unused variable ‘b1’ [-Wunused-variable] double a, b, c, d1, d2, c1, c2, l, w, ans, area, a1, b1, x1, y1, x2, y2; ^ user.cpp:56: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:57: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:59:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:62: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:88:27: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = (x2 - x1) * (y2 - y1); ^ user.cpp:88:15: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = (x2 - x1) * (y2 - y1); ^ user.cpp:88:27: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = (x2 - x1) * (y2 - y1); ^ user.cpp:88:15: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans = (x2 - x1) * (y2 - y1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbOk! You are better than Ionel!10
20ms316kbOk! You are better than Ionel!10
30ms324kbIonel rulz, you don't!0
40ms316kbOk! You are better than Ionel!10
512ms484kbIonel rulz, you don't!0
6124ms1884kbIonel rulz, you don't!0
7132ms1884kbIonel rulz, you don't!0
80ms320kbOk! You are better than Ionel!10
9132ms1880kbIonel rulz, you don't!0
100ms320kbOk! You are better than Ionel!10
Punctaj total50

Ceva nu functioneaza?