Borderou de evaluare (job #1487729)
| Utilizator | Data | 17 septembrie 2015 13:10:08 | |
|---|---|---|---|
| Problema | Patrate 3 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:12: error: ‘y’ was not declared in this scope
if(y[i]<y[j]) {
^
user.cpp:23:29: error: ‘x’ was not declared in this scope
if(o+t<=n&&((!C(x[o+t],u+dy)&&x[o+t]<u+dy)||(C(x[o+t],u+dy)&&(C(y[o+t],v-dx)||y[o+t]<v-dx))))
^
user.cpp:25:18: error: ‘x’ was not declared in this scope
if(C(x[o],u+dy)&&C(y[o],v-dx)) {
^
user.cpp:13:87: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate3.in","r",stdin),freopen("patrate3.out","w",stdout),scanf("%d",&n);
^
user.cpp:13:87: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:13:87: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:15:150: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&c[i],&d[i]),a[i].x=(int)ceil(100000*c[i])-(int)(ceil(100000*c[i]))%2,a[i].y=(int)ceil(100000*d[i])-(int)(ceil(100000*d[i]))%2;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
