Borderou de evaluare (job #1487726)
| Utilizator | Data | 17 septembrie 2015 13:08:33 | |
|---|---|---|---|
| Problema | Catun | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:9:1: error: ‘G’ does not name a type
G *a[36001],*q;
^
user.cpp: In function ‘void A(int, int, int)’:
user.cpp:12:8: error: ‘q’ was not declared in this scope
G *q=new G;
^
user.cpp:12:14: error: expected type-specifier before ‘G’
G *q=new G;
^
user.cpp:12:14: error: expected ‘;’ before ‘G’
user.cpp:13:24: error: ‘a’ was not declared in this scope
q->i=b,q->c=c,q->n=a[e],a[e]=q;
^
user.cpp: In function ‘int main()’:
user.cpp:50:13: error: ‘q’ was not declared in this scope
for(q=a[r];q;q=q->n)
^
user.cpp:50:15: error: ‘a’ was not declared in this scope
for(q=a[r];q;q=q->n)
^
user.cpp:41:91: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in","r",stdin),freopen("catun.out","w",stdout),scanf("%d%d%d",&n,&m,&l);
^
user.cpp:41:91: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:41:91: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:45:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),d[x]=0,h[++k]=x,p[x]=k,b[x]=x;
^
user.cpp:47:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z),A(x,y,z),A(y,x,z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
