Borderou de evaluare (job #1977291)
Utilizator | Data | 5 mai 2017 10:05:02 | |
---|---|---|---|
Problema | Numarare triunghiuri | Status | done |
Runda | Concurs Lucian Blaga - Clasa a 9-a | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘int’
int a[801],a,b,c,k,n,i;
^
user.cpp:8:7: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:9:6: error: ‘i’ was not declared in this scope
for(i=1; i<=n-3; i++)
^
user.cpp:11:6: error: ‘a’ was not declared in this scope
a=a[i];
^
user.cpp:12:6: error: ‘b’ was not declared in this scope
b=a[i+1];
^
user.cpp:13:6: error: ‘c’ was not declared in this scope
c=a[i+2];
^
user.cpp:15:9: error: ‘k’ was not declared in this scope
k=k+1;
^
user.cpp:17:7: error: ‘k’ was not declared in this scope
fout<<k<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !