Problem summarising2020
User AlphanumericUsername
Submission Time 2023-07-22 20:39:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summarising2020.cpp:5:1: error: ‘map’ does not name a type
5 | map<long long,vector<long long>> m;
| ^~~
summarising2020.cpp: In function ‘long long int xythesnake(int, std::vector<int>)’:
summarising2020.cpp:7:2: error: ‘m’ was not declared in this scope
7 | m[cnt++]=A;
| ^
summarising2020.cpp: In function ‘std::vector<int> friendofxy(int, long long int)’:
summarising2020.cpp:11:9: error: ‘m’ was not declared in this scope
11 | return m[X];
| ^