Pagini recente » Cod sursa (job #3198644) | Borderou de evaluare (job #2067579)
Borderou de evaluare (job #2067579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i!=pozmin&&i!=pozmax)
^
user.cpp:24:12: warning: variable ‘maxx’ set but not used [-Wunused-but-set-variable]
double maxx=0, maxy=0, minx=MAX+MAX+100, miny=MAX+MAX+100;
^
user.cpp:25:9: warning: unused variable ‘poz’ [-Wunused-variable]
int poz,i,n,pozmin,pozmax;
^
user.cpp:26:42: 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:27:44: 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:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:30:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&v[i].x,&v[i].y);
^
user.cpp:59:24: warning: ‘pozmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=pozmin&&i!=pozmax)
^
user.cpp:59:13: warning: ‘pozmin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=pozmin&&i!=pozmax)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Numar de puncte incorect | 0 |
2 | 0ms | 504kb | Numar de puncte incorect | 0 |
3 | 52ms | 828kb | Numar de puncte incorect | 0 |
4 | 52ms | 820kb | Numar de puncte incorect | 0 |
5 | 52ms | 824kb | Numar de puncte incorect | 0 |
6 | 420ms | 2820kb | Numar de puncte incorect | 0 |
7 | 416ms | 2816kb | Numar de puncte incorect | 0 |
8 | 424ms | 2812kb | Numar de puncte incorect | 0 |
9 | 428ms | 2816kb | Numar de puncte incorect | 0 |
10 | 416ms | 2816kb | Numar de puncte incorect | 0 |
Punctaj total | 0 |