Borderou de evaluare (job #2194612)
Utilizator | Data | 13 aprilie 2018 21:19:16 | |
---|---|---|---|
Problema | Fractii | 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:14:12: error: ‘n’ was not declared in this scope
fin >> n;
^
user.cpp:18:15: error: ‘v’ was not declared in this scope
l=l+2*v[i];
^
user.cpp: In function ‘void fractii()’:
user.cpp:25:24: error: ‘n’ was not declared in this scope
for (int i=1; i <= n; i++)
^
user.cpp:27:9: error: ‘v’ was not declared in this scope
v[i]=i;
^
user.cpp:29:17: error: ‘n’ was not declared in this scope
for(i=2; i<=n; i++)
^
user.cpp:31:12: error: ‘v’ was not declared in this scope
if(v[i]==i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !