PQ.cpp:21:18: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> solve(int p, vector<vector<int>> a) {
^
PQ.cpp:21:51: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> solve(int p, vector<vector<int>> a) {
^
PQ.cpp: In function 'std::vector<std::vector<int> > solve(int, std::vector<std::vector<int> >)':
PQ.cpp:24:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size() + 1; i++) {
^
PQ.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = s; j < a.size(); j++) {
^
PQ.cpp:42:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i; j < a[s].size(); j++) {
^
PQ.cpp:46:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = s + 1; j < a.size(); j++) {
^
PQ.cpp:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = i; k < a[j].size(); k++) {
^
PQ.cpp:55:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> res;
^
PQ.cpp:58:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < t.size(); j++) {
^
PQ.cpp: At global scope:
PQ.cpp:74:18: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> pnsolve(int p, int pd, vector<vector<int>> a) {
^
PQ.cpp:74:61: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> pnsolve(int p, int pd, vector<vector<int>> a) {
^
PQ.cpp: In function 'std::vector<std::vector<int> > pnsolve(int, int, std::vector<std::vector<int> >)':
PQ.cpp:76:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> res;
^
PQ.cpp:77:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> b;
^
PQ.cpp:79:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
^
PQ.cpp:81:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < a[i].size(); j++) {
^
PQ.cpp:86:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> tres = pnsolve(p, spd, b);
^
PQ.cpp: At global scope:
PQ.cpp:91:18: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> crtsolve(int n, int sn, vector<vector<int>> a) {
^
PQ.cpp:91:62: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> crtsolve(int n, int sn, vector<vector<int>> a) {
^
PQ.cpp: In function 'std::vector<std::vector<int> > crtsolve(int, int, std::vector<std::vector<int> >)':
PQ.cpp:92:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> res;
^
PQ.cpp:113:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> aa;
^
PQ.cpp:114:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> ab;
^
PQ.cpp:115:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
^
PQ.cpp:118:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < a[i].size(); j++) {
^
PQ.cpp:125:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> resa = pnsolve(pdiv, pn, aa);
^
PQ.cpp:126:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> resb = crtsolve(cn, sn, ab);
^
PQ.cpp:127:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < resa.size(); i++) {
^
PQ.cpp:128:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < resb.size(); j++) {
^
PQ.cpp: In function 'int main()':
PQ.cpp:142:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> s;
^
PQ.cpp:160:19: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> res = crtsolve(n, n, s);
^
PQ.cpp:143:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^