Borderou de evaluare (job #2132128)
Utilizator | Data | 15 februarie 2018 14:43:18 | |
---|---|---|---|
Problema | Pascal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:25: error: size of array ‘a’ is too large
int n,i,a[500000][500000],j,x,nr;
^
user.cpp: In function ‘int main()’:
user.cpp:11:9: error: ‘a’ was not declared in this scope
a[i][i]=1;
^
user.cpp:13:9: error: ‘a’ was not declared in this scope
a[i][1]=i;
^
user.cpp:15:9: error: ‘a’ was not declared in this scope
a[i][0]=1;
^
user.cpp:18:10: error: ‘a’ was not declared in this scope
a[i][j]=a[i-1][j-1]+a[i-1][j];
^
user.cpp:20:12: error: ‘a’ was not declared in this scope
if(a[n][j]%x==0) nr++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !