meetings.cpp: In function 'void query(int, int, int)':
meetings.cpp:14:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
14 | if(mp[vc]){return mp[vc];}
| ^
meetings.cpp:16:13: error: return-statement with a value, in function returning 'void' [-fpermissive]
16 | return mp[vc];
| ^
meetings.cpp: In function 'std::pair<int, int> slv(int, int)':
meetings.cpp:23:16: error: void value not ignored as it ought to be
23 | int v=query(st-1,i-1,ret-1);
| ~~~~~^~~~~~~~~~~~~~~~