Borderou de evaluare (job #1992848)
Utilizator | Data | 21 iunie 2017 16:43:01 | |
---|---|---|---|
Problema | Sudest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:40: error: size of array ‘c’ is too large
{ short lin, col, pas; } c[1000250018], p, ve;
^
user.cpp: In function ‘int main()’:
user.cpp:29:2: error: ‘c’ was not declared in this scope
c[0].lin=1; c[0].col=1; c[0].pas=1;
^
user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out","w",stdout);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi",&n);
^
user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi",&f[i][j]);
^
user.cpp:25:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi",&k);
^
user.cpp:27:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi",&d[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !