Borderou de evaluare (job #2485408)
Utilizator | Data | 1 noiembrie 2019 15:48:18 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int dfs1(int)':
main.cpp:16:15: error: 'val' was not declared in this scope
int ans = val[x];
^~~
main.cpp:20:12: error: 'jos' was not declared in this scope
return jos[x] = ans;
^~~
main.cpp: In function 'void dfs2(int, int)':
main.cpp:23:15: error: 'val' was not declared in this scope
int ans = val[x];
^~~
main.cpp:25:5: error: 'sus' was not declared in this scope
sus[x] = ans;
^~~
main.cpp: In function 'int dinam(int)':
main.cpp:31:8: error: 'd' was not declared in this scope
if(d)
^
main.cpp:32:1: error: expected primary-expression before '}' token
}
^
main.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
main.cpp: In function 'int main()':
main.cpp:42:14: error: 'val' was not declared in this scope
f >> val[i];
^~~
main.cpp:44:11: error: 'part1' was not declared in this scope
part1();
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !