Borderou de evaluare (job #2242433)
Utilizator | Data | 18 septembrie 2018 18:02:18 | |
---|---|---|---|
Problema | Gminmax | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:33: error: redefinition of ‘int nod’
int n,sol1,nod,grad[nmax],m,x,y,nod,k,vec,viz;
^~~
user.cpp:6:12: note: ‘int nod’ previously declared here
int n,sol1,nod,grad[nmax],m,x,y,nod,k,vec,viz;
^~~
user.cpp: In function ‘void solve()’:
user.cpp:13:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<lst[i].size();++j)
~^~~~~~~~~~~~~~
user.cpp:16:23: error: invalid types ‘int[int]’ for array subscript
if(viz[nod]) continue;
^
user.cpp:17:20: error: invalid types ‘int[int]’ for array subscript
viz[nod]=1;
^
user.cpp:24:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v[nod].size();++k)
~^~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !