Sponsors

Tag: problem: (D) Office Keys Solution In C/C++

Codeforces Round #424 (Div....

#include<bits/stdc++.h> using namespace std; const int maxn=2e3+5; int main(){ int n,k,p,a,b; int res=INT_MAX,i,j; cin>>n>>k>>p; for(i=0;i<n;i++) scanf("%d",a+i); for(i=0;i<k;i++)...

Advertisement

spot_img