Borderou de evaluare (job #1849339)
Utilizator | Data | 17 ianuarie 2017 12:37:50 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int binar(int)’:
user.cpp:9:19: error: ‘N’ was not declared in this scope
for (i= 1; i< N; i<<= 1);
^
user.cpp:11:19: error: ‘N’ was not declared in this scope
if (j +i< N && a[j + i] <= x)
^
user.cpp:11:24: error: ‘a’ was not declared in this scope
if (j +i< N && a[j + i] <= x)
^
user.cpp: In function ‘int main()’:
user.cpp:16:6: error: ‘n’ was not declared in this scope
{ f>>n;
^
user.cpp:17:8: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:18:8: error: ‘a’ was not declared in this scope
f>>a[i];
^
user.cpp:19:7: error: ‘m’ was not declared in this scope
f>>m;
^
user.cpp:20:8: error: ‘i’ was not declared in this scope
for(i=1;i<=m;i++)
^
user.cpp:22:11: error: ‘x’ was not declared in this scope
f>>x;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !