Borderou de evaluare (job #3336086)

Utilizator Ruxandra009Ruxandra Vasilescu Ruxandra009 Data 24 ianuarie 2026 10:09:06
Problema Qxy 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> interclas(std::vector<int>, std::vector<int>)': main.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 19 | while (i < v1.size() && j < v2.size()) | ~~^~~~~~~~~~~ main.cpp:19:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 19 | while (i < v1.size() && j < v2.size()) | ~~^~~~~~~~~~~ main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | while (i < v1.size()) aux.push_back(v1[i++]); | ~~^~~~~~~~~~~ main.cpp:24:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | while (j < v2.size()) aux.push_back(v2[j++]); | ~~^~~~~~~~~~~ main.cpp: In function 'int query(int, int, int, int, int, int, int)': main.cpp:47:26: error: 'upper_bound' was not declared in this scope 47 | int p2 = upper_bound(aint[node].begin(), aint[node].end(), y) - aint[node].begin() - 1; | ^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?