#include <iostream>
#include <algorithm>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
char S[3]={
'W', 'T', 'L'};
int main(int argc, char** argv) {
double a, ans = 1.0;
int id;
for(int i = 0; i < 3; i++){
double tmp = 0;
for(int j = 0; j < 3; j++){
cin >> a;
if(a > tmp){
id = j;
tmp = a;
}
}
ans *= tmp;
printf("%c ", S[id]);
}
printf("%.2lf", (ans * 0.65 - 1) * 2);
return 0;
}
A1011 World Cup Betting (20 分)
猜你喜欢
转载自blog.csdn.net/alovelypeach/article/details/113828663
今日推荐
周排行