Borderou de evaluare (job #3253730)
Utilizator | Data | 4 noiembrie 2024 16:49:42 | |
---|---|---|---|
Problema | Text3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void text(int, int)':
main.cpp:22:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int j=0;j<=q.size()-1;j++)
| ~^~~~~~~~~~~~
main.cpp:24:26: error: request for member 'push_back' in 'g.std::vector<int>::operator[](((std::vector<int>::size_type)j))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
24 | g[j].push_back(q[j]);
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:44:32: warning: statement has no effect [-Wunused-value]
44 | a[i][strlen(a[i])-1];
| ~~~~~~~~~~~~~~~~~~~^
main.cpp:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i=0;i<=g.size();i++)
| ~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !