Borderou de evaluare (job #1328401)
Utilizator | Data | 28 ianuarie 2015 12:19:04 | |
---|---|---|---|
Problema | Vila | 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:37:29: error: lvalue required as left operand of assignment
if(c[i][j]==0 && a[i][j]='-')
^
user.cpp:38:16: error: ‘cam’ was not declared in this scope
fill(i,j,++cam);
^
user.cpp:39:5: error: ‘nr’ was not declared in this scope
nr=0;
^
user.cpp:45:5: error: ‘v’ was not declared in this scope
v[++nr]=c[ii][jj];
^
user.cpp:49:1: error: expected ‘}’ at end of input
}
^
user.cpp:49:1: error: expected ‘}’ at end of input
user.cpp:30:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&M,&N);
^
user.cpp:32:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(1+a[i],130,in);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !