Borderou de evaluare (job #1090051)
Utilizator | Data | 22 ianuarie 2014 11:57:19 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:8: error: ‘pu’ was not declared in this scope
d>>pu>>poz;
^
user.cpp:21:20: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;i++)
^
user.cpp:25:16: error: ‘ai’ was not declared in this scope
d>>ai[]
^
user.cpp:25:19: error: expected primary-expression before ‘]’ token
d>>ai[]
^
user.cpp:26:13: error: expected ‘;’ before ‘if’
if()
^
user.cpp:31:14: error: too few arguments to function ‘void distruge(int)’
distruge();
^
user.cpp:7:6: note: declared here
void distruge(int pu)
^
user.cpp:19:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:19:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !