Borderou de evaluare (job #1687298)
Utilizator | Data | 12 aprilie 2016 19:35:40 | |
---|---|---|---|
Problema | Heavy Path Decomposition | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:53:9: error: ‘lTata’ was not declared in this scope
lTata[l[*it]]=nod;
^
user.cpp:54:9: error: ‘lNiv’ was not declared in this scope
lNiv[l[*it]]=niv[nod];
^
user.cpp: In function ‘void build(int, int, int, int, int)’:
user.cpp:65:20: error: ‘med’ was not declared in this scope
build(2*nod,st,med,decalaj,nr_lant);
^
user.cpp:64:9: warning: unused variable ‘mij’ [-Wunused-variable]
int mij=(st+dr)/2;
^
user.cpp: In function ‘void solve()’:
user.cpp:88:11: warning: unused variable ‘x’ [-Wunused-variable]
int t,x,y,sol;
^
user.cpp:88:13: warning: unused variable ‘y’ [-Wunused-variable]
int t,x,y,sol;
^
user.cpp:88:15: warning: unused variable ‘sol’ [-Wunused-variable]
int t,x,y,sol;
^
user.cpp: In function ‘void citire()’:
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&nod1,&nod2);
^
user.cpp: In function ‘int main()’:
user.cpp:99:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in","r",stdin);
^
user.cpp:100:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !