Borderou de evaluare (job #1542892)
Utilizator | Data | 5 decembrie 2015 19:31:45 | |
---|---|---|---|
Problema | Bemo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:29: error: size of array ‘M’ is too large
long long int M[20000][20000],i,j,k,nec,nr,n,r,c,C[20000],R[20000],S[40000],cont;
^
user.cpp: In function ‘int main()’:
user.cpp:16:24: error: ‘M’ was not declared in this scope
scanf("%lli",&M[i][j]);
^
user.cpp:21:13: error: ‘M’ was not declared in this scope
S[cont]=M[0][0];
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli %lli",&r,&c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !