Borderou de evaluare (job #1723153)
Utilizator | Data | 29 iunie 2016 20:34:57 | |
---|---|---|---|
Problema | Nivele2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:18: error: expected initializer before ‘S’
unsigned __int16 S[maxn],Cost[maxn],nr;
^
user.cpp: In function ‘void BFS(int)’:
user.cpp:20:5: error: ‘Cost’ was not declared in this scope
Cost[nod] = 1;
^
user.cpp:21:5: error: ‘S’ was not declared in this scope
S[L] = nod;
^
user.cpp: In function ‘int main()’:
user.cpp:53:13: error: ‘Cost’ was not declared in this scope
if (Cost[j]==i) { fout<<j<<" "; nr++;}
^
user.cpp:53:41: error: ‘nr’ was not declared in this scope
if (Cost[j]==i) { fout<<j<<" "; nr++;}
^
user.cpp:54:13: error: ‘nr’ was not declared in this scope
if (nr==N) break;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !