Borderou de evaluare (job #1426280)
Utilizator | Data | 29 aprilie 2015 12:46:35 | |
---|---|---|---|
Problema | Int | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:19: error: size of array ‘a’ is too large
int n,a[4000000005],b[4000000005],i,j,r,x;
^
user.cpp:9:33: error: size of array ‘b’ is too large
int n,a[4000000005],b[4000000005],i,j,r,x;
^
user.cpp: In function ‘int main()’:
user.cpp:16:30: error: ‘a’ was not declared in this scope
cin>>a[i];
^
user.cpp:17:30: error: ‘b’ was not declared in this scope
cin>>b[i];
^
user.cpp:22:46: error: ‘b’ was not declared in this scope
if(b[j]<b[i]){
^
user.cpp:24:62: error: ‘a’ was not declared in this scope
swap(a[i],a[j]);
^
user.cpp:27:7: error: ‘b’ was not declared in this scope
x=b[1];
^
user.cpp:29:29: error: ‘a’ was not declared in this scope
if(x<a[i]){r++; x=b[i];}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !