Borderou de evaluare (job #1589750)

Utilizator atatomirTatomir Alex atatomir Data 4 februarie 2016 13:16:46
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
20ms540kbBravo!5
30ms564kbraspuns gresit0
44ms676kbraspuns gresit0
50ms612kbraspuns gresit0
64ms680kbBravo!5
70ms576kbraspuns gresit0
84ms676kbraspuns gresit0
90ms584kbraspuns gresit0
100ms540kbBravo!5
110ms540kbBravo!5
1212ms992kbraspuns gresit0
1312ms1020kbBravo!5
1420ms1196kbraspuns gresit0
1528ms1436kbraspuns gresit0
1632ms1540kbraspuns gresit0
1732ms1616kbBravo!5
1840ms1816kbraspuns gresit0
1944ms1820kbraspuns gresit0
2040ms1820kbraspuns gresit0
Punctaj total30

Ceva nu functioneaza?