Borderou de evaluare (job #1605553)
Utilizator | Data | 19 februarie 2016 09:58:56 | |
---|---|---|---|
Problema | Zone | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:7: error: expected initializer before ‘Suma’
int N Suma[15], Mat[DIM][DIM];
^
user.cpp: In function ‘int main()’:
user.cpp:17:20: error: ‘N’ was not declared in this scope
scanf("%d\n", &N);
^
user.cpp:20:22: error: ‘Suma’ was not declared in this scope
scanf("%d", &Suma[i]);
^
user.cpp:23:10: error: ‘Suma’ was not declared in this scope
sort(Suma + 1, Suma + 10);
^
user.cpp:27:26: error: ‘Mat’ was not declared in this scope
scanf("%d", &Mat[i][j]);
^
user.cpp: In function ‘int Try(int, int, int, int)’:
user.cpp:53:13: error: ‘Mat’ was not declared in this scope
VS[1] = Mat[l1][c1];
^
user.cpp:55:21: error: ‘N’ was not declared in this scope
VS[3] = Mat[l1][N] - VS[2] - VS[1];
^
user.cpp:68:21: error: ‘Suma’ was not declared in this scope
if(VS[i] != Suma[i]) {
^
user.cpp: In function ‘int main()’:
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone.in","r",stdin);
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !