Pagini recente » Borderou de evaluare (job #998922) | Borderou de evaluare (job #777217) | Borderou de evaluare (job #298447) | Monitorul de evaluare | Borderou de evaluare (job #1993029)
Borderou de evaluare (job #1993029)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon.in","r",stdin);
^
user.cpp:58:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon.out","w",stdout);
^
user.cpp:60:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:63:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&poligon[i].x,&poligon[i].y);
^
user.cpp:69:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&punctDeVerif.x,&punctDeVerif.y);
^
user.cpp: In function ‘punct centrugreutate(punct*)’:
user.cpp:40:19: warning: ‘sumY’ may be used uninitialized in this function [-Wmaybe-uninitialized]
raspuns.y=sumY/n;
^
user.cpp:39:19: warning: ‘sumX’ may be used uninitialized in this function [-Wmaybe-uninitialized]
raspuns.x=sumX/n;
^
user.cpp: In function ‘int main()’:
user.cpp:40:19: warning: ‘sumY’ may be used uninitialized in this function [-Wmaybe-uninitialized]
raspuns.y=sumY/n;
^
user.cpp:33:12: note: ‘sumY’ was declared here
double sumY;
^
user.cpp:39:19: warning: ‘sumX’ may be used uninitialized in this function [-Wmaybe-uninitialized]
raspuns.x=sumX/n;
^
user.cpp:32:12: note: ‘sumX’ was declared here
double sumX;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | Too bad! | 0 |
| 2 | 0ms | 460kb | Too bad! | 0 |
| 3 | 0ms | 460kb | Too bad! | 0 |
| 4 | 4ms | 464kb | Too bad! | 0 |
| 5 | 4ms | 464kb | Too bad! | 0 |
| 6 | Depăşit | 436kb | Time limit exceeded. | 0 |
| 7 | 64ms | 468kb | Too bad! | 0 |
| 8 | 144ms | 468kb | Too bad! | 0 |
| 9 | Depăşit | 440kb | Time limit exceeded. | 0 |
| 10 | 44ms | 476kb | Too bad! | 0 |
| Punctaj total | 0 |