Borderou de evaluare (job #1298208)

Utilizator iomanea2002isaIoana Manea iomanea2002 Data 22 decembrie 2014 17:20:15
Problema Cmmmc Status done
Runda alevsrazvan Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:6: error: ‘d’ was not declared in this scope for(d=2;d*d<=n;d++) ^ user.cpp:9:6: error: ‘ciur’ was not declared in this scope if(ciur[d]==0) ^ user.cpp:13:23: error: ‘e’ was not declared in this scope fscanf(fin, "%d", &e); ^ user.cpp:15:7: error: ‘ciur’ was not declared in this scope if(ciur[e]==0) ^ user.cpp:15:12: error: ‘e’ was not declared in this scope if(ciur[e]==0) ^ user.cpp:18:5: error: ‘d’ was not declared in this scope d=2; ^ user.cpp:19:5: error: ‘nrdiv’ was not declared in this scope nrdiv=0; ^ user.cpp:20:5: error: ‘c’ was not declared in this scope c=0; ^ user.cpp:22:7: error: ‘p’ was not declared in this scope p=0; ^ user.cpp:7:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^

Ceva nu functioneaza?