Borderou de evaluare (job #1381863)
Utilizator | Data | 8 martie 2015 13:27:42 | |
---|---|---|---|
Problema | Victorie | Status | done |
Runda | Algoritmiada 2015 - Runda 2, Seniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:8: error: ‘DFS2’ was not declared in this scope
DFS2(1);
^
user.cpp:39:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < sol.size(); i++)
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("victorie.in", "r", stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("victorie.out", "w", stdout);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !