0_0_17372119_15809.cpp:28:1: error: 'map' does not name a type
map<LL,LL> mp;
^
0_0_17372119_15809.cpp: In function 'LL M(LL)':
0_0_17372119_15809.cpp:31:5: error: 'map' was not declared in this scope
map<LL,LL>::iterator it = mp.find(n);
^
0_0_17372119_15809.cpp:31:11: error: expected primary-expression before ',' token
map<LL,LL>::iterator it = mp.find(n);
^
0_0_17372119_15809.cpp:31:14: error: expected primary-expression before '>' token
map<LL,LL>::iterator it = mp.find(n);
^
0_0_17372119_15809.cpp:31:26: error: missing template arguments before 'it'
map<LL,LL>::iterator it = mp.find(n);
^
0_0_17372119_15809.cpp:32:8: error: 'it' was not declared in this scope
if(it!=mp.end()) return it->second;
^
0_0_17372119_15809.cpp:32:12: error: 'mp' was not declared in this scope
if(it!=mp.end()) return it->second;
^
0_0_17372119_15809.cpp:38:5: error: 'mp' was not declared in this scope
mp.insert(pair<LL,LL>(n,r));
^
0_0_17372119_15809.cpp: In function 'int main()':
0_0_17372119_15809.cpp:72:20: error: expected ')' before 'lld'
scanf("%d" lld,&d,&k);
^
|