Borderou de evaluare (job #3300942)
| Utilizator | Data | 20 iunie 2025 14:09:14 | |
|---|---|---|---|
| Problema | Sclifoseala | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool e_cerc(std::vector<short int>&)':
main.cpp:117:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp:118:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for(int j = i + 1; j < v.size(); j++){
| ~~^~~~~~~~~~
main.cpp: In function 'void conex(int, int, bool)':
main.cpp:149:24: warning: loop variable 'x' of type 'const shr&' {aka 'const short int&'} binds to a temporary constructed from type 'int' [-Wrange-loop-construct]
149 | for(const shr &x : g_check[nod]){
| ^
main.cpp:149:24: note: use non-reference type 'const shr' {aka 'const short int'} to make the copy explicit or 'const int&' to prevent copying
main.cpp: In function 'int bkt(int)':
main.cpp:165:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:170:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for(int j = i + 1; j < comp[idx].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:181:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
181 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:186:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
186 | for(int i = 0; i < comp[idx].size(); i++) m[i] = 0;
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
190 | if(cate[0] == comp[idx].size() - cnt1 && cate[1] == cnt1) sol++;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:199:8: error: 'class InParser' has no member named 'tie'
199 | in.tie(NULL);
| ^~~
main.cpp:224:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
224 | for(int i = 0; i < comp.size(); i++){
| ~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
