Borderou de evaluare (job #1939332)
Utilizator | Data | 25 martie 2017 17:08:19 | |
---|---|---|---|
Problema | Ace | 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:14:11: error: redeclaration of ‘FILE* g’
FILE *g=fopen("ace.out","w");
^
user.cpp:13:11: error: ‘FILE* g’ previously declared here
FILE *g=fopen("ace.in","r");
^
user.cpp:15:12: error: ‘f’ was not declared in this scope
fscanf(f,"%d%d%d",&p,&n,&m);
^
user.cpp:36:26: error: ‘out’ was not declared in this scope
if(p == 1) fprintf(out,"%d", db);
^
user.cpp:64:17: error: ‘out’ was not declared in this scope
fprintf(out,"%d", db);
^
user.cpp:13:11: warning: unused variable ‘g’ [-Wunused-variable]
FILE *g=fopen("ace.in","r");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !