Problem | workload2 |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-07 11:53:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
workload2.cpp: In function ‘int32_t main()’:
workload2.cpp:21:12: error: request for member ‘push_back’ in ‘queries’, which is of non-class type ‘quer [40005]’
21 | #define pb push_back
| ^~~~~~~~~
workload2.cpp:56:31: note: in expansion of macro ‘pb’
56 | if (a==1)cin>>b>>c, queries.pb({b-1, c-1, m++, t});
| ^~
workload2.cpp:65:15: error: request for member ‘begin’ in ‘queries’, which is of non-class type ‘quer [40005]’
65 | sort(queries.begin(), queries.end(), custom);
| ^~~~~
workload2.cpp:65:32: error: request for member ‘end’ in ‘queries’, which is of non-class type ‘quer [40005]’
65 | sort(queries.begin(), queries.end(), custom);
| ^~~