Borderou de evaluare (job #2573093)
Utilizator | Data | 5 martie 2020 15:47:58 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: 'vector' does not name a type
vector<int> graph[NMAX + 5];
^~~~~~
main.cpp: In function 'bool pairup(int)':
main.cpp:24:17: error: 'graph' was not declared in this scope
for(auto it:graph[x]){
^~~~~
main.cpp:32:17: error: 'graph' was not declared in this scope
for(auto it:graph[x]){
^~~~~
main.cpp: In function 'int main()':
main.cpp:66:9: error: 'graph' was not declared in this scope
graph[x].push_back(y);
^~~~~
main.cpp:61:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&n,&m,&e);
^
main.cpp:65:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&x,&y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !