Borderou de evaluare (job #2186911)
Utilizator | Data | 26 martie 2018 02:31:53 | |
---|---|---|---|
Problema | Roboti2 | 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:51:2: error: ‘FILE’ was not declared in this scope
FILE *fin = fopen("roboti2.in", "r");
^~~~
user.cpp:51:8: error: ‘fin’ was not declared in this scope
FILE *fin = fopen("roboti2.in", "r");
^~~
user.cpp:51:37: error: ‘fopen’ was not declared in this scope
FILE *fin = fopen("roboti2.in", "r");
^
user.cpp:52:8: error: ‘fout’ was not declared in this scope
FILE *fout = fopen("roboti2.out", "w");
^~~~
user.cpp:53:41: error: ‘fscanf’ was not declared in this scope
fscanf(fin, "%d%d%d%d", &op, &n, &m, &t);
^
user.cpp:63:33: error: ‘fprintf’ was not declared in this scope
fprintf(fout, "%d\n", Solve(l));
^
user.cpp:72:41: error: ‘fprintf’ was not declared in this scope
fprintf(fout, "%d\n", BinarySearch(k));
^
user.cpp:75:12: 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 !