Problem partition
User bribritt
Submission Time 2026-09-02 21:33:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ulugbek.cpp: In function ‘std::vector<int> add_numbers(std::vector<int>, int, int)’:
ulugbek.cpp:43:8: error: ‘m’ was not declared in this scope
43 | if(h%m)
| ^
ulugbek.cpp:46:18: error: expected ‘;’ before ‘}’ token
46 | B.push_back(M)
| ^
| ;
47 | }
| ~
temur.cpp:1:6: error: ‘vector’ in namespace ‘std’ does not name a template type
1 | std::vector<int> find_partition(std::vector<int> B, int K) {
| ^~~~~~
temur.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | std::vector<int> find_partition(std::vector<int> B, int K) {