转自:崔静姐做的blog,http://fengtianzhuxue.home.news.cn/blog/a/0101004A87F40BB5190AD34A.html

转载自:http://fengtianzhuxue.home.news.cn/blog/a/0101004A87F40BB505A3D342.html

转眼间,此次访日交流活动(中国宋庆龄基金会丰田助学基金,第三次访日交流)就结束了.回想下过程.记下流水账。

回想下26,27号的情形。26号浙大面试完后,因清华孙志松老师说过有1个学术的名额,所以临时决定一试。当晚买了机票,第二天7点50从萧山机场出发,近10点到达北京机场。下午1点开始面试。提前跟北航的张向才联系了下,第二天带我一起去面试。据其乐观估计,时间上应该没问题。10点到达北京机场,张向才提醒有机场快轨可以坐...

前面一篇blog谈到了浙大计算机院的机试,下面是面试经历:

回忆下。25号,在06级学姐王静帮忙下,租了留学生公寓一间房。计算机官网上说的是98单间,180标准间的,结果硬是只租到了标准间。泱泱就睡王静学姐寝室,我就只有……第二天就退房了,想着就算26号走不了,也自己找个去找下有没有便宜的。

看着上篇日志已经是上个月了。自己从腾讯深圳回到学校,再忙保研的事情,再到最后现在差不多定下来,也一直没有更新过blog。现在在北京,有点时间,也写写吧。

With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Similarly, football betting fans were putting their money where their mouths were, by laying all manner of World Cup bets.

Chinese Football Lottery provided a “Triple Winning” game. The rule of winning was simple: first select any three of the games. Then for each selected game, bet on one of the three possible results — namely W for win, T for tie, and L for lose. There was an odd assigned to each result. The winner’s odd would be the product of the three odds times 65%.

For example, 3 games’ odds are given as the following:

 W    T    L
1.1  2.5  1.7
1.2  3.0  1.6
4.1  1.2  1.1

To obtain the maximum profit, one must buy W for the 3rd game, T for the 2nd game, and T for the 1st game. If each bet takes 2 yuans, then the maximum profit would be (4.1*3.0*2.5*65%-1)*2 = 37.98 yuans (accurate up to 2 decimal places).

Input

Each input file contains one test case. Each case contains the betting information of 3 games. Each game occupies a line with three distinct odds corresponding to W, T and L.

Output

For each test case, print in one line the best bet of each game, and the maximum profit accurate up to 2 decimal places. The characters and the number must be separated by one space.

Sample Input

1.1 2.5 1.7
1.2 3.0 1.6
4.1 1.2 1.1

Sample Output

T T W 37.98
tanglei
码农 @ 宜信大数据创新中心, 毕业于CSU && THU, 曾工作于腾讯 && 友盟.   MORE
标签云