Borderou de evaluare (job #1466718)
| Utilizator | Data | 29 iulie 2015 23:47:41 | |
|---|---|---|---|
| Problema | Critice | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘int graph::sendFlows(std::vector<char>&, std::vector<int>&, std::queue<int>&)’:
user.cpp:49:61: error: ‘memset’ was not declared in this scope
memset(&visited[0], 0, sizeof(visited[0]) * visited.size());
^
user.cpp: In function ‘int main()’:
user.cpp:133: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:137:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
