wiring.cpp:19:9: error: 'vector' was not declared in this scope
19 | ll sub1(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include <iostream>
+++ |+#include <vector>
3 | #define MAX 1000000000000000000
wiring.cpp:19:16: error: expected primary-expression before 'int'
19 | ll sub1(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:19:25: error: 'vector' was not declared in this scope
19 | ll sub1(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:19:25: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:19:32: error: expected primary-expression before 'int'
19 | ll sub1(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:19:39: error: expression list treated as compound expression in initializer [-fpermissive]
19 | ll sub1(vector<int> &r, vector<int> &b) {
| ^
wiring.cpp:50:13: error: 'vector' was not declared in this scope
50 | bool isSub2(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:50:13: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:50:20: error: expected primary-expression before 'int'
50 | bool isSub2(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:50:29: error: 'vector' was not declared in this scope
50 | bool isSub2(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:50:29: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:50:36: error: expected primary-expression before 'int'
50 | bool isSub2(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:50:43: error: expression list treated as compound expression in initializer [-fpermissive]
50 | bool isSub2(vector<int> &r, vector<int> &b) {
| ^
wiring.cpp:54:9: error: 'vector' was not declared in this scope
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~~~~
wiring.cpp:54:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:54:16: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:28: error: 'vector' was not declared in this scope
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~~~~
wiring.cpp:54:28: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:54:35: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:48: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:57: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:66: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:75: error: expected primary-expression before 'int'
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^~~
wiring.cpp:54:82: error: expression list treated as compound expression in initializer [-fpermissive]
54 | ll sub2(vector<int> &left, vector<int> &right, int lSt, int lEd, int rSt, int rEd) {
| ^
wiring.cpp:71:13: error: 'vector' was not declared in this scope
71 | bool isSub3(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:71:13: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:71:20: error: expected primary-expression before 'int'
71 | bool isSub3(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:71:29: error: 'vector' was not declared in this scope
71 | bool isSub3(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:71:29: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:71:36: error: expected primary-expression before 'int'
71 | bool isSub3(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:71:43: error: expression list treated as compound expression in initializer [-fpermissive]
71 | bool isSub3(vector<int> &r, vector<int> &b) {
| ^
wiring.cpp:94:6: error: variable or field 'makeVectors' declared void
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~~~~~~~~~
wiring.cpp:94:18: error: 'vector' was not declared in this scope
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:94:18: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:94:25: error: expected primary-expression before 'int'
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:94:38: error: 'vector' was not declared in this scope
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:94:38: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:94:45: error: expected primary-expression before 'int'
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:94:56: error: 'vector' was not declared in this scope
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:94:56: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:94:63: error: expected primary-expression before 'int'
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:94:72: error: 'vector' was not declared in this scope
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:94:72: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:94:79: error: expected primary-expression before 'int'
94 | void makeVectors(vector<int> &color, vector<int> &idx, vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:106:6: error: variable or field 'printVector' declared void
106 | void printVector(vector<int> &v) {
| ^~~~~~~~~~~
wiring.cpp:106:18: error: 'vector' was not declared in this scope
106 | void printVector(vector<int> &v) {
| ^~~~~~
wiring.cpp:106:18: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:106:25: error: expected primary-expression before 'int'
106 | void printVector(vector<int> &v) {
| ^~~
wiring.cpp:116:9: error: 'vector' was not declared in this scope
116 | ll sub3(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:116:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:116:16: error: expected primary-expression before 'int'
116 | ll sub3(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:116:25: error: 'vector' was not declared in this scope
116 | ll sub3(vector<int> &r, vector<int> &b) {
| ^~~~~~
wiring.cpp:116:25: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:116:32: error: expected primary-expression before 'int'
116 | ll sub3(vector<int> &r, vector<int> &b) {
| ^~~
wiring.cpp:116:39: error: expression list treated as compound expression in initializer [-fpermissive]
116 | ll sub3(vector<int> &r, vector<int> &b) {
| ^
wiring.cpp:192:21: error: 'vector' was not declared in this scope
192 | ll min_total_length(vector<int> r, vector<int> b) {
| ^~~~~~
wiring.cpp:192:21: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:192:28: error: expected primary-expression before 'int'
192 | ll min_total_length(vector<int> r, vector<int> b) {
| ^~~
wiring.cpp:192:36: error: 'vector' was not declared in this scope
192 | ll min_total_length(vector<int> r, vector<int> b) {
| ^~~~~~
wiring.cpp:192:36: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
wiring.cpp:192:43: error: expected primary-expression before 'int'
192 | ll min_total_length(vector<int> r, vector<int> b) {
| ^~~
wiring.cpp:192:49: error: expression list treated as compound expression in initializer [-fpermissive]
192 | ll min_total_length(vector<int> r, vector<int> b) {
| ^