Pagini recente » Borderou de evaluare (job #580429) | Borderou de evaluare (job #2642381) | Borderou de evaluare (job #1021273) | Borderou de evaluare (job #830860) | Borderou de evaluare (job #1589755)
Borderou de evaluare (job #1589755)
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 |
1 | 0ms | 544kb | raspuns gresit | 0 |
2 | 0ms | 548kb | Bravo! | 5 |
3 | 0ms | 568kb | raspuns gresit | 0 |
4 | 4ms | 676kb | raspuns gresit | 0 |
5 | 0ms | 608kb | raspuns gresit | 0 |
6 | 4ms | 676kb | Bravo! | 5 |
7 | 0ms | 568kb | raspuns gresit | 0 |
8 | 4ms | 680kb | raspuns gresit | 0 |
9 | 0ms | 588kb | raspuns gresit | 0 |
10 | 0ms | 536kb | Bravo! | 5 |
11 | 0ms | 536kb | Bravo! | 5 |
12 | 12ms | 992kb | raspuns gresit | 0 |
13 | 12ms | 1020kb | Bravo! | 5 |
14 | 20ms | 1196kb | raspuns gresit | 0 |
15 | 28ms | 1440kb | raspuns gresit | 0 |
16 | 32ms | 1544kb | raspuns gresit | 0 |
17 | 32ms | 1620kb | Bravo! | 5 |
18 | 40ms | 1812kb | raspuns gresit | 0 |
19 | 44ms | 1816kb | raspuns gresit | 0 |
20 | 40ms | 1816kb | raspuns gresit | 0 |
Punctaj total | 30 |