//C - Installing Cell-Towers //Writer解(TLEがでることの確認) //なんかARC-Aみたい? //一発の発想がすべて #include //#include using namespace std; using ll = long long; #define ALL(a) (a).begin(),(a).end() using v_vll = vector>; vector p,a,ans_n,ans_l,imos; ll n,m; void naive(){ ans_n.resize(n+1); for(ll i=0;i>n>>m; a.resize(m+1); p.resize(m+1); for(ll i=0;i>p[i]>>a[i]; } naive(); for(ll i=1;i<=n;i++){ cout<