Borderou de evaluare (job #2708243)
Utilizator | Data | 18 februarie 2021 14:36:36 | |
---|---|---|---|
Problema | Capitala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:29: error: expected ')' before ';' token
ofstream cout("capitala.out";)
^
main.cpp:8:30: error: expected unqualified-id before ')' token
ofstream cout("capitala.out";)
^
main.cpp:11:14: error: 'N' was not declared in this scope
vector<int>v[N];
^
main.cpp:12:16: error: 'N' was not declared in this scope
int n,x,y,mini=N,ans;
^
main.cpp:13:7: error: 'N' was not declared in this scope
int s[N],sf[N],nrd[N];
^
main.cpp:13:13: error: 'N' was not declared in this scope
int s[N],sf[N],nrd[N];
^
main.cpp:13:20: error: 'N' was not declared in this scope
int s[N],sf[N],nrd[N];
^
main.cpp:14:10: error: 'N' was not declared in this scope
bool viz[N];
^
main.cpp: In function 'void dfs(int)':
main.cpp:18:5: error: 'viz' was not declared in this scope
viz[nod]=1;
^~~
main.cpp:19:5: error: 'nrd' was not declared in this scope
nrd[nod]=1;
^~~
main.cpp:20:22: error: 'v' was not declared in this scope
for(size_t i=0;i<v[nod].size();i++)
^
main.cpp:27:13: error: 's' was not declared in this scope
s[nod]+=s[y]+nrd[y];
^
main.cpp: In function 'void dfs_t(int)':
main.cpp:34:5: error: 'viz' was not declared in this scope
viz[nod]=1;
^~~
main.cpp:35:22: error: 'v' was not declared in this scope
for(size_t i=0;i<v[nod].size();i++)
^
main.cpp:40:13: error: 'sf' was not declared in this scope
sf[y]=sf[nod]-nrd[y]+n-nrd[y];
^~
main.cpp:40:27: error: 'nrd' was not declared in this scope
sf[y]=sf[nod]-nrd[y]+n-nrd[y];
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !