#include using namespace std; typedef long long int ll; #define debugv(v) printf("L%d %s => ",__LINE__,#v);for(auto e:v){cout< ",__LINE__,#m);for(int x=0;x<(w);x++){cout<<(m)[x]<<" ";}cout< ostream& operator <<(ostream &o,const pair p){o<<"("<b && c>b)); } template bool kadomaturetu(TI begin,TI end){ TI it1=begin; TI it2=++begin; TI it3=++begin; for (;it3!=end;it1=it2,it2=it3,it3++){ if (!kadomatu(*it1,*it2,*it3)) return false; } return true; } int main(){ int i,j; int n; cin >> n; vector order(n); for (i=0;i v(n); for (i=0;i> result; for (i=0;i>n; return 0; }