Borderou de evaluare (job #1617936)
Utilizator | Data | 27 februarie 2016 17:13:26 | |
---|---|---|---|
Problema | Arbxyz | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:2:13: error: ‘class std::vector<int>’ has no member named ‘pula’
#define end pula
^
user.cpp:22:44: note: in expansion of macro ‘end’
for (it = G[nod].begin(); it != G[nod].end(); ++it)
^
user.cpp: In function ‘int main()’:
user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbxyz.in", "r", stdin);
^
user.cpp:62:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbxyz.out", "w", stdout);
^
user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:69:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &x, &y, &z);
^
user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &xx, &yy);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !