Borderou de evaluare (job #1817921)
Utilizator | Data | 28 noiembrie 2016 18:01:31 | |
---|---|---|---|
Problema | Luna | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:78:16: error: ‘ironPlate’ undeclared (first use in this function)
if(ironPlate[i][j]!=0){//..nenul..
^
user.c:78:16: note: each undeclared identifier is reported only once for each function it appears in
user.c:79:28: error: ‘rectangle’ undeclared (first use in this function)
for(y=0; y<rectangle; y++){
^
user.c:94:52: error: ‘finalArea’ undeclared (first use in this function)
if(side1*side2>finalArea){
^
user.c:95:41: error: expected declaration or statement at end of input
finalArea = side1 * side2;
^
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:95:41: error: expected declaration or statement at end of input
user.c:14:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &M);
^
user.c:15:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &N);
^
user.c:19:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d ", &moonMap[i][j]);
^
user.c:22:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &K);
^
user.c:55:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &country);
^
user.c:56:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &length);
^
user.c:57:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &width);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !