Borderou de evaluare (job #1644034)
Utilizator | Data | 9 martie 2016 21:18:33 | |
---|---|---|---|
Problema | Permuta | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:19: error: expected ‘]’ before numeric constant
int n,i,k,j,a[100 001],b[100 001];
^
user.cpp: In function ‘int main()’:
user.cpp:9:21: error: ‘b’ was not declared in this scope
for(i=1;i<=n;i++)f>>b[i];
^
user.cpp:10:20: error: ‘a’ was not declared in this scope
for(i=n;i>0;i--){ a[0]=a[k];
^
user.cpp:12:25: error: ‘b’ was not declared in this scope
a[1]=b[i];k++;}
^
user.cpp:13:21: error: ‘a’ was not declared in this scope
for(i=1;i<=n;i++)g<<a[i]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !