Sponsors

Tag: problem: (C) Leha and Function Solution In C/C++

Codeforces Round #429 (Div....

#include<bits/stdc++.h> using namespace std; int main(){ std::ios::sync_with_stdio(false); int m; cin>>m; int a,b; for(int i=0;i<m;i++) cin>>a; vector<pair<int,int> >br(m); for(int i=0;i<m;i++){ cin>>b; br=make_pair(b,i); } sort(a,a+m); int...

Advertisement

spot_img