Salat's blog

By Salat, 14 years ago, translation, In English
Google translate:
Problem А. STL + little brain.
  • map<string,int> M_pair; // data in put M_pair; 
  • map<string,vector<pair<int,int> > > M_step; // step of player; 
  • vector<pair<int,string> > Res; // first - result game, second name of player ; 
  • sort(Res.being(),Res.end(),predicat); // created the predicate for which there is a sort Res, players; 
  • predicat //if you win the same, then look at M_step chronology of events when a player has earned the first time, the amount m;
Problem В. no opinion((
first suggested to avoid the numbers 2,5,10 ie those who create the zeros, but seeing the test realized that
is not correct.

Problem С. I understand it correctly???
The three circles on the field and need to find a point equidistant from the three circles?

view:
Even though I solved the problem A two hours, I liked the process =) Please help me!)
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
  Vote: I like it -11 Vote: I do not like it

Wondering a lot why such posts appear in my "Recent actions"...