Borderou de evaluare (job #1849071)
Utilizator | Data | 16 ianuarie 2017 23:10:38 | |
---|---|---|---|
Problema | Sokoban | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:2: error: ‘FILE’ was not declared in this scope
FILE *f = fopen("sokoban.in", "rt");
^
user.cpp:60:8: error: ‘f’ was not declared in this scope
FILE *f = fopen("sokoban.in", "rt");
^
user.cpp:60:36: error: ‘fopen’ was not declared in this scope
FILE *f = fopen("sokoban.in", "rt");
^
user.cpp:63:22: error: ‘fscanf’ was not declared in this scope
fscanf(f, "%d\n", &t);
^
user.cpp:64:8: error: ‘outf’ was not declared in this scope
FILE *outf = fopen("sokoban.out", "wt");
^
user.cpp:65:17: error: expected ‘)’ before ‘;’ token
while (--t >= 0; )
^
user.cpp:65:19: error: expected primary-expression before ‘)’ token
while (--t >= 0; )
^
user.cpp:65:19: error: expected ‘;’ before ‘)’ token
user.cpp:61:7: warning: unused variable ‘s’ [-Wunused-variable]
char s[maxN + maxM + 1];
^
user.cpp:140:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !