Borderou de evaluare (job #1783545)
Utilizator | Data | 19 octombrie 2016 09:22:57 | |
---|---|---|---|
Problema | Problema rucsacului | Status | done |
Runda | cerculdeinfo-lectia3-programaredinamica1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:3: error: ‘FILE’ was not declared in this scope
FILE *fin, *fout;
^
user.cpp:6:9: error: ‘fin’ was not declared in this scope
FILE *fin, *fout;
^
user.cpp:6:15: error: ‘fout’ was not declared in this scope
FILE *fin, *fout;
^
user.cpp:7:29: error: ‘fopen’ was not declared in this scope
fin=fopen("rucsac.in", "r");
^
user.cpp:9:29: error: ‘fscanf’ was not declared in this scope
fscanf(fin, "%d%d", &n, &g);
^
user.cpp:15:27: error: ‘fprintf’ was not declared in this scope
fprintf(fout, "%d", d[g]);
^
user.cpp:16:13: error: ‘fclose’ was not declared in this scope
fclose(fin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !