#include <iostream>
#include <map>
#include <functional>

int main() {
	std::map<double,int,std::greater<double>> list;
	list.emplace(100,1);
	list.emplace(0,2);
	list.emplace(2.71,3);
	list.emplace(3.14,4);
	list.emplace(1.41,5);
	
	for(auto &v : list){
		std::cout << "number:" << v.second << " score:" << v.first << std::endl;
	}
	
	return 0;
}