Pagini recente » Borderou de evaluare (job #2656128) | Borderou de evaluare (job #771112) | Borderou de evaluare (job #1292814) | Borderou de evaluare (job #3037885) | Borderou de evaluare (job #2171641)
Borderou de evaluare (job #2171641)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:151: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:152: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);
^
user.cpp:154:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&typeQuery , &noTri , & distMax );
^
user.cpp:160:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &crPct.x , &crPct.y);
^
user.cpp:163:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &crPct.x , &crPct.y);
^
user.cpp:166:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &crPct.x , &crPct.y);
^
user.cpp: In function ‘double calcDist(Punct, Punct, Punct)’:
user.cpp:34:46: warning: ‘xCord’ may be used uninitialized in this function [-Wmaybe-uninitialized]
double crDist = ( p1.x - p2.x ) * ( p1.x - p2.x ) + ( p2.y - p1.y )* ( p2.y - p1.y );
^
user.cpp:68:16: note: ‘xCord’ was declared here
double xCord ;
^
user.cpp:34:81: warning: ‘yCord’ may be used uninitialized in this function [-Wmaybe-uninitialized]
double crDist = ( p1.x - p2.x ) * ( p1.x - p2.x ) + ( p2.y - p1.y )* ( p2.y - p1.y );
^
user.cpp:52:16: note: ‘yCord’ was declared here
double yCord ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2900kb | Numar de elicoptere gresit. | 0 |
2 | 4ms | 2936kb | OK. | 2 |
3 | 4ms | 2940kb | Numar de elicoptere gresit. | 0 |
4 | 4ms | 2884kb | OK. | 2 |
5 | 4ms | 2920kb | OK. | 2 |
6 | 4ms | 2836kb | OK. | 2 |
7 | 4ms | 2852kb | Numar de elicoptere gresit. | 0 |
8 | 4ms | 2940kb | OK. | 2 |
9 | 8ms | 2844kb | OK. | 2 |
10 | 8ms | 2888kb | Numar de elicoptere gresit. | 0 |
11 | 4ms | 2916kb | Numar de perechi de insule gresit. | 0 |
12 | 4ms | 2904kb | OK. | 4 |
13 | 4ms | 2876kb | OK. | 4 |
14 | 4ms | 2896kb | OK. | 4 |
15 | 4ms | 2920kb | OK. | 4 |
16 | 4ms | 2884kb | OK. | 4 |
17 | 4ms | 2924kb | OK. | 4 |
18 | 4ms | 2840kb | OK. | 4 |
19 | 8ms | 2824kb | OK. | 4 |
20 | 8ms | 2912kb | OK. | 4 |
21 | 4ms | 2952kb | Suma lungimilor rutelor gresita. | 0 |
22 | 4ms | 2840kb | Suma lungimilor rutelor gresita. | 0 |
23 | 4ms | 2900kb | Suma lungimilor rutelor gresita. | 0 |
24 | 4ms | 2844kb | Suma lungimilor rutelor gresita. | 0 |
25 | 4ms | 2908kb | Suma lungimilor rutelor gresita. | 0 |
26 | 4ms | 2976kb | Suma lungimilor rutelor gresita. | 0 |
27 | 4ms | 2892kb | Suma lungimilor rutelor gresita. | 0 |
28 | 4ms | 2932kb | Suma lungimilor rutelor gresita. | 0 |
29 | 8ms | 2904kb | Suma lungimilor rutelor gresita. | 0 |
30 | 8ms | 2844kb | Suma lungimilor rutelor gresita. | 0 |
Punctaj total | 48 |