Borderou de evaluare (job #2226051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:45: warning: variable ‘lastAngle’ set but not used [-Wunused-but-set-variable]
double points[120000][2], maxAngle, angle, lastAngle, dif_oriz = 0;
^~~~~~~~~
user.cpp:7:56: warning: unused variable ‘dif_oriz’ [-Wunused-variable]
double points[120000][2], maxAngle, angle, lastAngle, dif_oriz = 0;
^~~~~~~~
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in", "r", stdin);
^
user.cpp:11:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out", "w", stdout);
^
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:15:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &points[i][0], &points[i][1]);
^
user.cpp:56:28: warning: ‘maxAngleIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
contour[noOfPoints++] = p;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 796kb | Corect | 10 |
2 | 0ms | 864kb | Corect | 10 |
3 | 32ms | 904kb | Corect | 10 |
4 | 32ms | 908kb | Corect | 10 |
5 | 32ms | 912kb | Corect | 10 |
6 | Depăşit | 2700kb | Time limit exceeded. | 0 |
7 | Depăşit | 2312kb | Time limit exceeded. | 0 |
8 | Depăşit | 2308kb | Time limit exceeded. | 0 |
9 | Depăşit | 2304kb | Time limit exceeded. | 0 |
10 | Depăşit | 2300kb | Time limit exceeded. | 0 |
Punctaj total | 50 |