Borderou de evaluare (job #2256684)
Utilizator | Data | 8 octombrie 2018 22:36:39 | |
---|---|---|---|
Problema | Dragon Ball Z | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dij()’:
user.cpp:3:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:3:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:4:9: error: ‘d’ was not declared in this scope
d[i]=(1<<29),E[i]=0,prov[i]=0;
^
user.cpp:4:22: error: ‘E’ was not declared in this scope
d[i]=(1<<29),E[i]=0,prov[i]=0;
^
user.cpp:4:29: error: ‘prov’ was not declared in this scope
d[i]=(1<<29),E[i]=0,prov[i]=0;
^~~~
user.cpp:5:5: error: ‘d’ was not declared in this scope
d[S]=0;pq.push({0,S});p[S]=0;
^
user.cpp:5:7: error: ‘S’ was not declared in this scope
d[S]=0;pq.push({0,S});p[S]=0;
^
user.cpp:5:12: error: ‘pq’ was not declared in this scope
d[S]=0;pq.push({0,S});p[S]=0;
^~
user.cpp:5:27: error: ‘p’ was not declared in this scope
d[S]=0;pq.push({0,S});p[S]=0;
^
user.cpp:8:9: error: ‘start’ was not declared in this scope
start=pq.top().second;dist=d[start];pq.pop();
^~~~~
user.cpp:8:31: error: ‘dist’ was not declared in this scope
start=pq.top().second;dist=d[start];pq.pop();
^~~~
user.cpp:9:13: error: ‘E’ was not declared in this scope
if(!E[start])
^
user.cpp:11:17: error: ‘i’ was not declared in this scope
for(i=0;i<v[start].size();i++)
^
user.cpp:11:23: error: ‘v’ was not declared in this scope
for(i=0;i<v[start].size();i++)
^
user.cpp:13:17: error: ‘nod’ was not declared in this scope
nod=v[start][i].first;D=dist+v[start][i].second;
^~~
user.cpp:13:39: error: ‘D’ was not declared in this scope
nod=v[start][i].first;D=dist+v[start][i].second;
^
user.cpp:18:45: error: ‘prov’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !