Borderou de evaluare (job #1887764)
Utilizator | Data | 21 februarie 2017 19:13:43 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:71:42: error: invalid types ‘puncte [120005][double]’ for array subscript
printf("%.2lf %.2lf\n", v[s.top()].x, v[s.top()].y);
^
user.cpp:71:56: error: invalid types ‘puncte [120005][double]’ for array subscript
printf("%.2lf %.2lf\n", v[s.top()].x, v[s.top()].y);
^
user.cpp:49:9: warning: unused variable ‘k’ [-Wunused-variable]
int k=0, ant1, ant2;
^
user.cpp: In function ‘void read()’:
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:22:47: 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: In function ‘int main()’:
user.cpp:77:44: 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);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !