Joi.cpp: In function 'std::pair<long long int, long long int> find_rot(long long int, long long int)':
Joi.cpp:58:14: error: could not convert 'std::make_pair<std::pair<long long int, long long int>, long long int&>(std::make_pair<long long int&, long long int&>(r.std::pair<long long int, long long int>::second, e.std::pair<long long int, long long int>::second), r.std::pair<long long int, long long int>::first)' from 'std::pair<std::pair<long long int, long long int>, long long int>' to 'std::pair<long long int, long long int>'
return mp(mp(r.S,e.S),r.F);
^
Joi.cpp: In function 'void bfs(long long int, long long int)':
Joi.cpp:6:12: error: 'class std::queue<long long int>' has no member named 'push_back'
#define pb push_back
^
Joi.cpp:101:8: note: in expansion of macro 'pb'
qu.pb(a);
^~
Joi.cpp: In function 'void Joi(int, int, int*, int*, long long int, int)':
Joi.cpp:123:29: error: conversion from 'std::pair<long long int, long long int>' to non-scalar type 'std::pair<std::pair<long long int, long long int>, long long int>' requested
pair<pii,ll> ew=find_rot(n,m);
~~~~~~~~^~~~~
Joi.cpp:124:5: error: 'r' was not declared in this scope
r=mp(ew.S,ew.F.F);
^
Joi.cpp:126:10: error: 'x' was not declared in this scope
bfs(r.S,x);
^
Joi.cpp:135:9: error: 'class std::set<long long int>' has no member named 'inseret'; did you mean 'insert'?
st.inseret(i);
^~~~~~~
insert
Joi.cpp:137:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0;i<tartib.size();i++){
~^~~~~~~~~~~~~~
Joi.cpp:138:30: error: 'x' was not declared in this scope
MessageBoard(tartib[i],(x>>i)&1);
^
Ioi.cpp: In function 'std::pair<long long int, long long int> find_rot(long long int, long long int)':
Ioi.cpp:60:14: error: could not convert 'std::make_pair<std::pair<long long int, long long int>, long long int&>(std::make_pair<long long int&, long long int&>(r.std::pair<long long int, long long int>::second, e.std::pair<long long int, long long int>::second), r.std::pair<long long int, long long int>::first)' from 'std::pair<std::pair<long long int, long long int>, long long int>' to 'std::pair<long long int, long long int>'
return mp(mp(r.S,e.S),r.F);
^
Ioi.cpp: In function 'long long int Ioi(int, int, int*, int*, int, int, int)':
Ioi.cpp:99:29: error: conversion from 'std::pair<long long int, long long int>' to non-scalar type 'std::pair<std::pair<long long int, long long int>, long long int>' requested
pair<pii,ll> ew=find_rot(n,m);
~~~~~~~~^~~~~
Ioi.cpp:100:5: error: 'r' was not declared in this scope
r=mp(ew.S,ew.F.F);
^
Ioi.cpp:102:10: error: 'x' was not declared in this scope
bfs(r.F,x);
^
Ioi.cpp:102:2: error: 'bfs' was not declared in this scope
bfs(r.F,x);
^~~
Ioi.cpp:102:2: note: suggested alternative: 'dfs'
bfs(r.F,x);
^~~
dfs
Ioi.cpp:143:2: error: 'make_tartib' was not declared in this scope
make_tartib(ew);
^~~~~~~~~~~
Ioi.cpp:143:2: note: suggested alternative: 'tartib'
make_tartib(ew);
^~~~~~~~~~~
tartib
Ioi.cpp:153:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0;i<tartib.size();i++){
~^~~~~~~~~~~~~~
Ioi.cpp:159:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=1;i<dfss.size();i++){
~^~~~~~~~~~~~