Borderou de evaluare (job #1957763)
Utilizator | Data | 7 aprilie 2017 19:12:07 | |
---|---|---|---|
Problema | Inel | 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:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=50;i++)
^
user.cpp:12:12: error: ‘v’ was not declared in this scope
if(v[i]==0)
^
user.cpp:15:17: error: ‘j’ was not declared in this scope
for(j=v[i]*2;j<=50;j+=v[i])
^
user.cpp:19:12: error: ‘n’ was not declared in this scope
fin >> n;
^
user.cpp:20:8: error: ‘v’ was not declared in this scope
if(v[n]==1)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !