- 浏览: 36671 次
- 性别:
- 来自: 杭州
最新评论
Sample Input
1.1 2.5 1.7 1.2 3.0 1.6 4.1 1.2 1.1Sample Output
T T W 37.98
#include <iostream> #include <iomanip> #include <string> using namespace std; int main() { int N = 3; float total = 1; string str; while (N--) { float x,y,z; cin>>x>>y>>z; float Max = max(max(x,y),z); if (Max == x) { str += "W "; } else if (Max == y) { str += "T "; } else { str += "L "; } total *= Max; } cout.setf(ios::fixed); float Result = (total * 0.65 - 1)*2; cout<<str<<setprecision(2)<<Result; return 0; }
发表评论
-
PAT1013 Battle Over Cities
2012-11-29 23:59 774Sample Input 3 2 3 1 2 1 3 ... -
PAT1003 Emergency
2012-11-29 23:46 664Sample Input 5 6 0 2 1 2 1 ... -
PAT1041 Be Unique
2012-11-23 23:43 762找出只出现过一次的数,用各种排序必然超时,需要用数组做hash ... -
PAT1042 Shuffling Machine
2012-11-23 23:42 734扑克洗牌 #include < ... -
PAT1040 Longest Symmetric String
2012-11-23 23:41 960求最长回文子串 #include < ... -
PAT1036 Boys vs Girls
2012-11-23 23:41 716Sample Input 1: 3 Joe M Mat ... -
PAT1035 Password
2012-11-23 23:40 617Sample Input 1: 3 Team0000 ... -
PAT1031 Hello World for U
2012-11-22 23:54 656Sample Input: helloworld! S ... -
PAT1029 Median
2012-11-22 23:54 652用标准库的排序全部超时,需要自己实现,另外还不能用cin co ... -
PAT1028 List Sorting
2012-11-22 23:53 809用vector最后一个用例超时了。。。 Sample ... -
PAT1027 Colors in Mars
2012-11-22 23:52 624Sample Input 15 43 71 Samp ... -
PAT1025 PAT Ranking
2012-11-22 23:51 773Sample Input: 2 5 123456789 ... -
PAT1023 Have Fun with Numbers
2012-11-21 23:55 687大数的相加 比较两个字符串中字符完全相同 Sa ... -
PAT1020 Tree Traversals
2012-11-21 23:54 653已知中序遍历 后序遍历,求层次遍历 Sample In ... -
PAT1019 General Palindromic Number
2012-11-21 23:53 539十进制转任意进制,并比较是否是回文数 Sample I ... -
PAT1037 Magic Coupon
2012-11-21 15:46 664Sample Input: 4 1 2 4 -1 ... -
PAT1038 Recover the Smallest Number
2012-11-20 23:52 1669由一道面试题改的 把数组排成最小的数 不同之处是这 ... -
PAT1024 Palindromic Number
2012-11-20 23:51 649Sample Input 1: 67 3 Sampl ... -
PAT1015 Reversible Primes
2012-11-19 23:51 771十进制转任意进制 假设十进制数为number,转 ... -
PAT1012 The Best Rank
2012-11-19 23:50 927四门功课,输出排名最高的是哪个 Sample Inpu ...
相关推荐
1.1 2.5 1.7 1.2 3.1 1.6 4.1 1.2 1.1
Profitable Betting Systems for Horseracing
football_betting.zip
NFL_Betting_Data
Part VI Taking Research to the Real World Chapter 17: The Devil in HML’s Details 467 Clifford Asness and Andrea Frazzini Chapter 18: Fact, Fiction, and Momentum Investing 495 Clifford Asness, Andrea ...
资源分类:Python库 所属语言:Python 资源全名:betting_models-0.1.3-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
cs_betting_assistant
NFL_Betting_Data
Fantasy_Betting
Betting_WebApplication:投注WebApp
以太坊坚实度-React投注 以太坊坚实度--React-Betting-App.git
git clone cd betting-app 运行npm start 在没有 Node.js 和 NPM 的情况下运行 git clone cd betting-app/app 单击 index.html 并使用任何浏览器打开 当这是第一次时,此命令将在启动 Web 服务器之前安装所需的...
betting 使用 React 和 Redux 制作的竞猜游戏,主题为2018年世界杯,支持 PC 、移动端和微信。不需服务器支持,所有游戏逻辑均在前端完成,。 调试源码 $ apt-get install nodejs npm $ npm install $ npm run watch...
这是Aseco的插件(永远的Trackmania程序)! 它可以在Aseco 2.x上运行。 这个插件的目的是提供一个允许下注的机器人。 如果成功,您将获得一些荣誉
该软件用于保存“帐户”的加密记录,以便在任何类型的游戏(例如纸牌)中用假钱下注。它具有复利功能,帐户持有人的余额每天按1%的比例进行复利。 它管理游戏期间进行的下注。
关于 Laravel Laravel 是一个具有表现力、优雅语法的 Web 应用程序框架。 我们相信发展必须是一种愉快和创造性的体验,才能真正实现。 Laravel 试图通过简化大多数 Web 项目中使用的常见任务来减轻开发的痛苦,例如...
该项目是通过引导的。 您将在下面找到一些有关如何执行常见任务的信息。 您可以在找到本指南的最新版本。 目录 自动格式化代码 更改页面<title> 安装依赖项 导入组件 代码分割 添加样式表 ...met
react-webpack-样板运行“ npm install”进行设置运行npm start开始下注游戏