Borderou de evaluare (job #1989621)
Utilizator | Data | 8 iunie 2017 11:43:54 | |
---|---|---|---|
Problema | Karb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:5: error: expected initializer before ‘tata’
tata[dad(a)]=dad(b);
^
user.cpp: In function ‘int main()’:
user.cpp:31:25: error: ‘join’ was not declared in this scope
join(v0[i].x,v0[i].y);
^
user.cpp:34:30: error: ‘join’ was not declared in this scope
{join(v1[i].x,v1[i].y);
^
user.cpp:42:27: error: ‘join’ was not declared in this scope
join(sol[i].x,sol[i].y);
^
user.cpp:45:30: error: ‘join’ was not declared in this scope
{join(v1[i].x,v1[i].y);
^
user.cpp:52:30: error: ‘join’ was not declared in this scope
{join(v0[i].x,v0[i].y);
^
user.cpp:15:19: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,i,x,y,k,q,j,n0=0,n1=0,nr=0;
^
user.cpp: In function ‘int dad(int)’:
user.cpp:9:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("karb.in","r",stdin);
^
user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karb.out","w",stdout);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d%d%d",&x,&y,&q);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !