Borderou de evaluare (job #1014439)
Utilizator | Data | 22 octombrie 2013 18:34:13 | |
---|---|---|---|
Problema | Sume 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:21: error: size of array ‘a’ is too large
int n,k,i,j,x,a[nmax],mid,m;
^
user.cpp: In function ‘int merge(int, long int)’:
user.cpp:24:13: error: ‘a’ was not declared in this scope
a[m]=b[i];
^
user.cpp:27:13: error: ‘a’ was not declared in this scope
a[m]=b[j];
^
user.cpp:34:9: error: ‘a’ was not declared in this scope
a[m]=b[i], i++, m++;
^
user.cpp:37:9: error: ‘a’ was not declared in this scope
a[m]=b[j], j++, m++;
^
user.cpp:40:14: error: ‘a’ was not declared in this scope
b[i]=a[i];
^
user.cpp: In function ‘int main()’:
user.cpp:66:15: error: ‘a’ was not declared in this scope
in >> a[i];
^
user.cpp:70:25: error: ‘a’ was not declared in this scope
b.push_back(a[i]+a[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !