Borderou de evaluare (job #1466694)
Utilizator | Data | 29 iulie 2015 21:10:53 | |
---|---|---|---|
Problema | Drumuri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘int graph::revertFlows(std::vector<int>&, std::vector<int>&, std::vector<int*>&, std::vector<int*>&, std::queue<int>&)’:
user.cpp:57:61: error: ‘memset’ was not declared in this scope
memset(&parent[0], 0xFF, parent.size() * sizeof(parent[0]));
^
user.cpp: In function ‘int main()’:
user.cpp:125:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:135:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !