#include <iostream>
#include <queue>
#include <string>
using namespace std;
struct Fruit
{
string Name;
int Price;
friend bool operator < (Fruit &f1, Fruit &f2)
{
return f1.Price < f2.Price;
}
}f1,f2,f3,f4;
struct Game
{
string Name;
int Price;
}g1,g2,g3;
struct Cmp
{
bool operator () (Game &g1, Game &g2)
{
return g1.Price > g2.Price;
}
};
int main(void)
{
priority_queue<Game,vector<Game>,Cmp>game;
g1.Name = "守望先锋";
g1.Price = 20;
g2.Name = "LOL";
g2.Price = 0;
g3.Name = "PUBG";
g3.Price = 98;
game.push(g1);
game.push(g2);
game.push(g3);
cout<<game.top().Name<<game.top().Price<<endl;
return 0;
}