Borderou de evaluare (job #1194781)
Utilizator | Data | 4 iunie 2014 19:36:19 | |
---|---|---|---|
Problema | Maxd | 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:5:24: error: conflicting declaration ‘int b [500]’
{int a,b,i,ma,k,t,b[500];
^
user.cpp:5:8: error: ‘b’ has a previous declaration as ‘int b’
{int a,b,i,ma,k,t,b[500];
^
user.cpp:13:7: error: ‘j’ was not declared in this scope
{for (j=1;j<=i;j++)
^
user.cpp:17:15: error: invalid types ‘int[int]’ for array subscript
b[t]=i;}}
^
user.cpp:18:7: error: invalid types ‘int[int]’ for array subscript
g<<b[1]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !