#include <iostream>
#include <functional>
#include <map>
using namespace std;

int main() {
	map<int, float, greater<int>> example;
	example.emplace(std::make_pair(10, 10.0));
	example.emplace(std::make_pair(12, 12.0));
	
	for (auto const& entry : example)
	{
		cout << "Key: " << entry.first << " " << entry.second << endl;
	}
	
	return 0;
}