Borderou de evaluare (job #1191345)
Utilizator | Data | 27 mai 2014 09:56:35 | |
---|---|---|---|
Problema | Paznici3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Solve(int, int, int)’:
user.cpp:90:5: error: ‘sol’ was not declared in this scope
sol=0; clca=lca; ca=a; cb=b;
^
user.cpp:90:12: error: ‘clca’ was not declared in this scope
sol=0; clca=lca; ca=a; cb=b;
^
user.cpp:90:22: error: ‘ca’ was not declared in this scope
sol=0; clca=lca; ca=a; cb=b;
^
user.cpp:90:28: error: ‘cb’ was not declared in this scope
sol=0; clca=lca; ca=a; cb=b;
^
user.cpp:94:13: error: ‘aux’ was not declared in this scope
aux=a; a=lca; lca=aux;
^
user.cpp:96:35: error: ‘Query’ was not declared in this scope
sol+=Query(1,1,2*N,a,lca,1);
^
user.cpp:98:14: error: ‘cclca’ was not declared in this scope
if(b>cclca)
^
user.cpp:100:13: error: ‘aux’ was not declared in this scope
aux=b; b=clca; clca=aux;
^
user.cpp: In function ‘void Dfs(int)’:
user.cpp:115:9: error: ‘a’ was not declared in this scope
a=itt->a; b=itt->b; cost=itt->cost;
^
user.cpp:115:19: error: ‘b’ was not declared in this scope
a=itt->a; b=itt->b; cost=itt->cost;
^
user.cpp:115:29: error: ‘cost’ was not declared in this scope
a=itt->a; b=itt->b; cost=itt->cost;
^
user.cpp:116:19: error: ‘lca’ was not declared in this scope
Solve(a,b,lca);
^
user.cpp:117:24: error: ‘sol’ was not declared in this scope
printf("%d\n", sol);
^
user.cpp: In function ‘int main()’:
user.cpp:124:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("paznici3.in","r",stdin);
^
user.cpp:125:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("paznici3.out","w",stdout);
^
user.cpp:126:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N,&M);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !