Borderou de evaluare (job #2142077)
Utilizator | Data | 24 februarie 2018 18:36:23 | |
---|---|---|---|
Problema | Mirror | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:96:9: warning: unused variable ‘i’ [-Wunused-variable]
int i=0, j, nou;
^
user.cpp:96:14: warning: unused variable ‘j’ [-Wunused-variable]
int i=0, j, nou;
^
user.cpp:96:17: warning: unused variable ‘nou’ [-Wunused-variable]
int i=0, j, nou;
^
user.cpp:99:9: error: ‘nou’ was not declared in this scope
nou=0;
^
user.cpp:102:17: error: ‘j’ was not declared in this scope
for(j=0; j<=k-1; j++)
^
user.cpp:111:5: error: ‘else’ without a previous ‘if’
else
^
user.cpp:113:13: error: redeclaration of ‘int i’
int i, j, lmax=0, l, pi, pf, sol1, sol2;
^
user.cpp:87:9: note: ‘int i’ previously declared here
int i, x;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !