Borderou de evaluare (job #1958485)

Utilizator edicCiuculescu Eduard edic Data 8 aprilie 2017 13:53:07
Problema Zone 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void fil1(int, int, int)’: user.cpp:56:13: error: ‘v’ was not declared in this scope v[s].i++; ^ user.cpp: In function ‘int main()’: user.cpp:89:7: error: ‘h’ was not declared in this scope for(h=1;h<=s;h++) ^ user.cpp:92:5: error: ‘v’ was not declared in this scope v[s].j=s; ^ user.cpp:94:8: error: ‘v’ was not declared in this scope sort(v+1,v+s+1,so); ^ user.cpp:94:20: error: ‘sort’ was not declared in this scope sort(v+1,v+s+1,so); ^ user.cpp:103:5: error: ‘nod’ was not declared in this scope nod=v[i].j; ^ user.cpp:108:7: error: ‘x’ was not declared in this scope x=lst[nod].val; ^ user.cpp:65:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zone2.in","r",stdin); ^ user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zone2.out","w",stdout); ^ user.cpp:68:27: 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:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c",&temp[i][j]); ^

Ceva nu functioneaza?