Pagini recente » Borderou de evaluare (job #655466) | Borderou de evaluare (job #1557102) | Borderou de evaluare (job #1296496) | Borderou de evaluare (job #2370559) | Borderou de evaluare (job #1910817)
Borderou de evaluare (job #1910817)
Raport evaluator
Compilare:
user.cpp: In function ‘double dist_vert(punct, segment)’:
user.cpp:42:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if( AB.A.x < AB.B.x && C.x >= AB.A.x && C.x<=AB.B.x || AB.A.x > AB.B.x && C.x <= AB.A.x && C.x >= AB.B.x )
^
user.cpp: In function ‘double dist_oriz(punct, segment)’:
user.cpp:56:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(AB.A.y < AB.B.y && C.y >=AB.A.y && C.y <=AB.B.y || AB.A.y > AB.B.y && C.y <=AB.A.y && C.y >=AB.B.y)
^
user.cpp: In function ‘int main()’:
user.cpp:180:11: warning: unused variable ‘A’ [-Wunused-variable]
punct A,B,C,D;
^
user.cpp:180:13: warning: unused variable ‘B’ [-Wunused-variable]
punct A,B,C,D;
^
user.cpp:180:15: warning: unused variable ‘C’ [-Wunused-variable]
punct A,B,C,D;
^
user.cpp:180:17: warning: unused variable ‘D’ [-Wunused-variable]
punct A,B,C,D;
^
user.cpp: In function ‘void citire()’:
user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&Q,&N,&K);
^
user.cpp:95:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf%lf%lf%lf",&x1,&y1,&x2,&y2,&x3,&y3);
^
user.cpp: In function ‘int main()’:
user.cpp:177:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicoptere.in","r",stdin);
^
user.cpp:178:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicoptere.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK. | 2 |
2 | 0ms | 488kb | OK. | 2 |
3 | 0ms | 488kb | OK. | 2 |
4 | 4ms | 492kb | OK. | 2 |
5 | 4ms | 492kb | OK. | 2 |
6 | 8ms | 484kb | OK. | 2 |
7 | 12ms | 488kb | OK. | 2 |
8 | 16ms | 496kb | OK. | 2 |
9 | 20ms | 496kb | OK. | 2 |
10 | 20ms | 492kb | OK. | 2 |
11 | 0ms | 480kb | OK. | 4 |
12 | 0ms | 488kb | OK. | 4 |
13 | 0ms | 492kb | OK. | 4 |
14 | 4ms | 492kb | OK. | 4 |
15 | 4ms | 488kb | OK. | 4 |
16 | 8ms | 484kb | OK. | 4 |
17 | 12ms | 488kb | OK. | 4 |
18 | 16ms | 492kb | OK. | 4 |
19 | 20ms | 492kb | OK. | 4 |
20 | 20ms | 496kb | OK. | 4 |
21 | 0ms | 524kb | Suma lungimilor rutelor gresita. | 0 |
22 | 0ms | 532kb | Suma lungimilor rutelor gresita. | 0 |
23 | 0ms | 524kb | Suma lungimilor rutelor gresita. | 0 |
24 | 4ms | 536kb | Suma lungimilor rutelor gresita. | 0 |
25 | 4ms | 528kb | Suma lungimilor rutelor gresita. | 0 |
26 | 8ms | 536kb | Suma lungimilor rutelor gresita. | 0 |
27 | 12ms | 536kb | Suma lungimilor rutelor gresita. | 0 |
28 | 16ms | 532kb | Suma lungimilor rutelor gresita. | 0 |
29 | 20ms | 540kb | Suma lungimilor rutelor gresita. | 0 |
30 | 20ms | 536kb | Suma lungimilor rutelor gresita. | 0 |
Punctaj total | 60 |