Borderou de evaluare (job #1012085)
Utilizator | Data | 17 octombrie 2013 23:48:48 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void mergee(int, int, int)’:
user.cpp:32:12: error: ‘v’ was not declared in this scope
if(v[l] < v[r])
^
user.cpp:37:22: error: ‘v’ was not declared in this scope
c[k++] = v[l++];
^
user.cpp:39:22: error: ‘v’ was not declared in this scope
c[k++] = v[r++];
^
user.cpp:41:9: error: ‘v’ was not declared in this scope
v[i] = c[i-left];
^
user.cpp: In function ‘int main()’:
user.cpp:60:11: error: ‘n’ was not declared in this scope
in >> n;
^
user.cpp:63:15: error: ‘v’ was not declared in this scope
in >> v[i];
^
user.cpp:68:16: error: ‘v’ was not declared in this scope
out << v[i] << " ";
^
user.cpp: In function ‘long int rec()’:
user.cpp:113:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p < strlen(st))
^
user.cpp: In function ‘int main()’:
user.cpp:173:5: error: redefinition of ‘int main()’
int main()
^
user.cpp:56:5: error: ‘int main()’ previously defined here
int main()
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !