september.cpp: In function 'int solve(int, int, std::vector<int>, std::vector<std::vector<int> >)':
september.cpp:20:9: error: 'sort' was not declared in this scope; did you mean 'short'?
20 | sort(seg.begin(), seg.end());
| ^~~~
| short
september.cpp:36:9: error: 'set' was not declared in this scope
36 | set <int> st;
| ^~~
september.cpp:2:1: note: 'std::set' is defined in header '<set>'; did you forget to '#include <set>'?
1 | #include "september.h"
+++ |+#include <set>
2 |
september.cpp:36:14: error: expected primary-expression before 'int'
36 | set <int> st;
| ^~~
september.cpp:38:17: error: 'st' was not declared in this scope; did you mean 'std'?
38 | st.insert(p[i]);
| ^~
| std
september.cpp:40:21: error: 'st' was not declared in this scope; did you mean 'std'?
40 | return (int)st.size();
| ^~
| std