Borderou de evaluare (job #1277600)
Utilizator | Data | 27 noiembrie 2014 21:31:29 | |
---|---|---|---|
Problema | Spirala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:9: error: ‘ca’ was not declared in this scope
ca=a;
^
user.cpp:7:24: warning: unused variable ‘dif’ [-Wunused-variable]
int n, m, i, j, a, dif=0, d, lin, col;
^
user.cpp:5:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "spirala.in", "r", stdin );
^
user.cpp:6:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "spirala.out", "w", stdout );
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n, &m );
^
user.cpp:15:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &mat[i][j] );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !