Borderou de evaluare (job #1392630)
Utilizator | Data | 18 martie 2015 19:44:44 | |
---|---|---|---|
Problema | Rj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void findc(int, char)’:
user.cpp:19:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(matc[i][j]==c)
^
user.cpp: In function ‘void bfs(punct, char)’:
user.cpp:56:13: error: cannot convert ‘int [105][105]’ to ‘int**’ in assignment
matp=matr;
^
user.cpp:58:13: error: cannot convert ‘int [105][105]’ to ‘int**’ in assignment
matp=matj;
^
user.cpp:71:20: error: ‘curemt’ was not declared in this scope
next.c=curemt.c+dx[i];
^
user.cpp: In function ‘int main()’:
user.cpp:82:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d\n",&n,&m);
^
user.cpp:85:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(matc[i],N,in);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !