Borderou de evaluare (job #1453566)
Utilizator | Data | 23 iunie 2015 20:48:24 | |
---|---|---|---|
Problema | Tri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:73:30: error: ‘nro’ was not declared in this scope
pos=lb(ord+1,ord+nro+1,a[j].x)-ord;
^
user.cpp: In function ‘void read()’:
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&p[i].x,&p[i].y),p[i].ind=i;
^
user.cpp: In function ‘void print()’:
user.cpp:86:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:89:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&i1,&i2,&i3);
^
user.cpp: In function ‘int main()’:
user.cpp:105:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.in","r",stdin);
^
user.cpp:106:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !