Borderou de evaluare (job #1402563)
Utilizator | Data | 26 martie 2015 17:30:28 | |
---|---|---|---|
Problema | Pietre | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:23: error: size of array ‘a’ is too large
int a[MAX_N+1][MAX_N+1];
^
user.cpp: In function ‘int main()’:
user.cpp:22:16: error: ‘a’ was not declared in this scope
if(a[i][j] == 0 && j == i+k && !verif)
^
user.cpp:39:30: error: ‘a’ was not declared in this scope
fprintf(out, "%d\n", a[x][y]);
^
user.cpp:35:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &t);
^
user.cpp:38:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !