Borderou de evaluare (job #1589755)

Utilizator atatomirTatomir Alex atatomir Data 4 februarie 2016 13:18:42
Problema Tri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:127:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri.in","r",stdin); ^ user.cpp:128:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri.out","w",stdout); ^ user.cpp:130:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %lf %lf %lf %lf", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y); ^ user.cpp:131:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:135:43: 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:84:32: warning: ‘l1.Line::a’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.y = (who.a * c - a * who.c) / sub; ^ user.cpp:277:10: note: ‘l1.Line::a’ was declared here Line l1, l2; ^ user.cpp:83:20: warning: ‘l1.Line::b’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.x = (b * who.c - who.b * c) / sub; ^ user.cpp:277:10: note: ‘l1.Line::b’ was declared here Line l1, l2; ^ user.cpp:84:24: warning: ‘l1.Line::c’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.y = (who.a * c - a * who.c) / sub; ^ user.cpp:277:10: note: ‘l1.Line::c’ was declared here Line l1, l2; ^ user.cpp:84:32: warning: ‘l2.Line::c’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.y = (who.a * c - a * who.c) / sub; ^ user.cpp:277:14: note: ‘l2.Line::c’ was declared here Line l1, l2; ^ user.cpp:83:36: warning: ‘l2.Line::b’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.x = (b * who.c - who.b * c) / sub; ^ user.cpp:277:14: note: ‘l2.Line::b’ was declared here Line l1, l2; ^ user.cpp:84:24: warning: ‘l2.Line::a’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans.y = (who.a * c - a * who.c) / sub; ^ user.cpp:277:14: note: ‘l2.Line::a’ was declared here
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms544kbraspuns gresit0
20ms548kbBravo!5
30ms568kbraspuns gresit0
44ms676kbraspuns gresit0
50ms608kbraspuns gresit0
64ms676kbBravo!5
70ms568kbraspuns gresit0
84ms680kbraspuns gresit0
90ms588kbraspuns gresit0
100ms536kbBravo!5
110ms536kbBravo!5
1212ms992kbraspuns gresit0
1312ms1020kbBravo!5
1420ms1196kbraspuns gresit0
1528ms1440kbraspuns gresit0
1632ms1544kbraspuns gresit0
1732ms1620kbBravo!5
1840ms1812kbraspuns gresit0
1944ms1816kbraspuns gresit0
2040ms1816kbraspuns gresit0
Punctaj total30

Ceva nu functioneaza?