c#include <bits/stdc++.h> using namespace std; typedef struct { long long joy; long long price; int idx; } toy; bool cmp(toy A, toy B){
#include <bits/stdc++.h> using namespace std; typedef struct { long long joy; long long price; int idx; } toy; bool cmp(toy A, toy B){