Borderou de evaluare (job #1462049)
Utilizator | Data | 16 iulie 2015 23:47:00 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘int graph::sendFlows(int, int, std::vector<int>&, std::vector<int*>&, std::vector<int>&, std::vector<char>&, std::queue<int>&)’:
user.cpp:41:59: 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:116: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:120: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 !