Problem | dquery |
---|---|
User | zyq69 |
Submission Time | 2024-02-23 00:13:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dquery.cpp: In function ‘int32_t main()’:
dquery.cpp:37:10: error: ‘inp1’ was not declared in this scope
37 | cin >> inp1;
| ^~~~
dquery.cpp:38:3: error: ‘v’ was not declared in this scope
38 | v.push_back(inp1);
| ^
dquery.cpp:40:9: error: ‘M’ was not declared in this scope
40 | cin >> M;
| ^
dquery.cpp:42:10: error: ‘inp1’ was not declared in this scope
42 | cin >> inp1 >> inp2;
| ^~~~
dquery.cpp:42:18: error: ‘inp2’ was not declared in this scope
42 | cin >> inp1 >> inp2;
| ^~~~
dquery.cpp:43:3: error: ‘queries’ was not declared in this scope; did you mean ‘query’?
43 | queries.push_back({{inp1, inp2}, a});
| ^~~~~~~
| query
dquery.cpp:45:7: error: ‘queries’ was not declared in this scope; did you mean ‘query’?
45 | sort(queries.begin(), queries.end(), cmp);