Borderou de evaluare (job #2084051)
Utilizator | Data | 8 decembrie 2017 16:16:45 | |
---|---|---|---|
Problema | A+B | 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:31:11: error: request for member ‘push_back’ in ‘v’, which is of non-class type ‘std::vector<int> [152]’
v.push_back(x), v.push_back(y);
^
user.cpp:31:27: error: request for member ‘push_back’ in ‘v’, which is of non-class type ‘std::vector<int> [152]’
v.push_back(x), v.push_back(y);
^
user.cpp:42:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = mu.size() - 1;i >= mu.size() - (m - (n + 1));i--) {
^
user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("a.in", "r", stdin);
^
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("a.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !