Borderou de evaluare (job #1706511)
Utilizator | Data | 22 mai 2016 18:31:31 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:17: error: size of array ‘a’ is too large
int a[2000000010], d[2000000010], p[2000000010], n, k;
^
user.cpp:8:32: error: size of array ‘d’ is too large
int a[2000000010], d[2000000010], p[2000000010], n, k;
^
user.cpp:8:47: error: size of array ‘p’ is too large
int a[2000000010], d[2000000010], p[2000000010], n, k;
^
user.cpp: In function ‘void dinamica()’:
user.cpp:12:2: error: ‘d’ was not declared in this scope
d[n]=1;
^
user.cpp:13:2: error: ‘p’ was not declared in this scope
p[n]=0;
^
user.cpp:17:8: error: ‘a’ was not declared in this scope
if (a[i]<a[j] && d[j]>max){
^
user.cpp:27:9: error: ‘a’ was not declared in this scope
cout<<a[max2]<<" ";
^
user.cpp: In function ‘int main()’:
user.cpp:34:29: error: ‘a’ was not declared in this scope
for(int i=1;i<=n;i++) cin>>a[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !