Borderou de evaluare (job #3208416)
Utilizator | Data | 28 februarie 2024 16:31:55 | |
---|---|---|---|
Problema | Bemo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::vector<int> solve(int, int, std::pair<int, int>*)':
main.cpp:10:31: warning: variable 'p' set but not used [-Wunused-but-set-variable]
10 | pair<int,int> p = v[i];
| ^
main.cpp:24:31: error: 'm' was not declared in this scope
24 | ans.push_back(m[it.first][it.second]);
| ^
main.cpp: In function 'int main()':
main.cpp:43:33: error: 'm' was not declared in this scope
43 | vector<int> ret = solve(m);
| ^
main.cpp:45:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int i = 0;i < ret.size();++i)
| ~~^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !