📅  最后修改于: 2022-03-11 14:44:56.594000             🧑  作者: Mango
#include
#include
#include
using namespace std;
pairmas[1003];
int main()
{
int n,k,i;
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
cin>>n>>k;
for(i=0;i>mas[i].first;
mas[i].second=i+1;
}
sort(mas,mas+n);
cout<