Borderou de evaluare (job #2320212)
Utilizator | Data | 14 ianuarie 2019 15:21:08 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int verif(int, int)':
main.cpp:44:26: error: expected ',' or ';' before 'l2'
int i,l=cauta(i,fiu,p)l2=l;
^~
main.cpp:45:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(i=l;i=n;i++)
^
main.cpp:47:21: error: 'l2' was not declared in this scope
if(fiu[i]==j)l2++;
^~
main.cpp:49:10: error: 'l1' was not declared in this scope
for(i=l1;i<=l2;i++)
^~
main.cpp:49:16: error: 'l2' was not declared in this scope
for(i=l1;i<=l2;i++)
^~
main.cpp:53:4: error: expected primary-expression before '}' token
}
^
main.cpp:43:8: warning: unused variable 'ok' [-Wunused-variable]
int ok=1;
^~
main.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void BKT(int)':
main.cpp:64:9: error: expected '(' before 'if'
if (valid(k))
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !