Borderou de evaluare (job #1117496)
Utilizator | Data | 23 februarie 2014 16:35:33 | |
---|---|---|---|
Problema | Zone 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void gaseste_vecini(int, int, int)’:
user.cpp:45:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[nx][ny])
^
user.cpp: In function ‘int main()’:
user.cpp:59:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (vecini[v[i][j]].size()<k) q.push(v[i][j]);
^
user.cpp:14:37: error: ‘typeof’ was not declared in this scope
for(typeof(container.begin()) it=container.begin();it!=container.end();++it)
^
user.cpp:66:7: note: in expansion of macro ‘tr’
tr(vecini[nod],it)
^
user.cpp:66:22: error: expected ‘;’ before ‘it’
tr(vecini[nod],it)
^
user.cpp:14:39: note: in definition of macro ‘tr’
for(typeof(container.begin()) it=container.begin();it!=container.end();++it)
^
user.cpp:66:22: error: ‘it’ was not declared in this scope
tr(vecini[nod],it)
^
user.cpp:14:60: note: in definition of macro ‘tr’
for(typeof(container.begin()) it=container.begin();it!=container.end();++it)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !