#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<<"("<> n; vector order(n); for (i=0;i v(n); for (i=0;i> result; // ここのコメントは見なかった(・ω・) for (i=0;i>n; return 0; }