Borderou de evaluare (job #2017390)
Utilizator | Data | 1 septembrie 2017 00:46:24 | |
---|---|---|---|
Problema | Critice | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:89:26: error: request for member ‘begin’ in ‘graph’, which is of non-class type ‘std::vector<int> [1001]’
random_shuffle(graph.begin(), graph.end());
^
user.cpp:89:41: error: request for member ‘end’ in ‘graph’, which is of non-class type ‘std::vector<int> [1001]’
random_shuffle(graph.begin(), graph.end());
^
user.cpp:73:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:75:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &a, &b, &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !