Problem findinggrass
User shoryu386
Submission Time 2022-12-28 12:53:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findinggrass.cpp: In function ‘int main()’:
findinggrass.cpp:37:35: error: template argument 2 is invalid
37 | map<int, vector<pair<int, bool>> discretiser;
| ^~~~~~~~~~~
findinggrass.cpp:37:35: error: template argument 4 is invalid
findinggrass.cpp:40:3: error: ‘discretiser’ was not declared in this scope
40 | discretiser[a[x]].push_back({x, false});
| ^~~~~~~~~~~
findinggrass.cpp:45:16: error: ‘discretiser’ was not declared in this scope
45 | for (auto i : discretiser){
| ^~~~~~~~~~~