Borderou de evaluare (job #1559176)
Utilizator | Data | 30 decembrie 2015 13:41:09 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: ‘vector’ does not name a type
vector < int > Rez;
^
user.cpp: In function ‘int main()’:
user.cpp:33:5: error: ‘Rez’ was not declared in this scope
Rez.push_back(start);
^
user.cpp:57:17: error: ‘Rez’ was not declared in this scope
printf("%d\n",Rez.size());
^
user.cpp:23:10: warning: unused variable ‘x’ [-Wunused-variable]
double x,y,unghi,lst = 0,ma;
^
user.cpp:23:12: warning: unused variable ‘y’ [-Wunused-variable]
double x,y,unghi,lst = 0,ma;
^
user.cpp:18:40: 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:19:42: 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:20:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:25:38: 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);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !