stove.cpp: In function 'int main()':
stove.cpp:14:5: error: 'vector' was not declared in this scope
14 | vector <int> atn;
| ^~~~~~
stove.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include <algorithm>
+++ |+#include <vector>
3 | using namespace std;
stove.cpp:14:13: error: expected primary-expression before 'int'
14 | vector <int> atn;
| ^~~
stove.cpp:18:9: error: 'atn' was not declared in this scope
18 | atn.push_back(t[i] - t[i-1] - 1);
| ^~~
stove.cpp:20:10: error: 'atn' was not declared in this scope
20 | sort(atn.begin(),atn.end(), greater<int>());
| ^~~