Borderou de evaluare (job #1492594)
Utilizator | Data | 27 septembrie 2015 21:47:24 | |
---|---|---|---|
Problema | Barbar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int solve()’:
user.cpp:103:11: error: ‘bfs’ was not declared in this scope
if (bfs(0)) {
^
user.cpp:105:3: error: expected ‘,’ or ‘;’ before ‘while’
while (bfs(i)) {
^
user.cpp:111:2: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:104:16: warning: unused variable ‘i’ [-Wunused-variable]
int sol = 0, i = 1
^
user.cpp: In function ‘void read()’:
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &R, &C);
^
user.cpp:32:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 1005, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:118:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.in", "r", stdin);
^
user.cpp:119:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !