codeforces 501A Contest
来源:互联网 发布:用友软件nc 编辑:程序博客网 时间:2024/06/02 05:26
点击打开链接
水题
#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d; cin>>a>>b>>c>>d; int m=max(3*a/10,a-a/250*c); int n=max(3*b/10,b-b/250*d); if(m>n) printf("Misha\n"); else if(n>m) printf("Vasya\n"); else printf("Tie\n"); return 0;}
阅读全文
0 0
- CodeForces 501A Contest
- CodeForces 501A Contest
- codeforces 501A Contest
- CodeForces 501A Contest(最大得分)
- Codeforces 501A:Contest(水题)
- codeforces contest 785 a题
- codeforces contest 779 A题
- codeforces/contest/797/problem/A
- CodeForces 813A The Contest
- Codeforces 813 A The Contest
- CodeForces 501A Contest(水题,感觉BUG)
- CodeForces - 681A A Good Contest
- CodeForces 681A A Good Contest
- codeforces 681A A Good Contest
- http://codeforces.com/contest/6/problem/A
- http://codeforces.com/contest/7/problem/A
- http://codeforces.com/contest/1/problem/A
- CodeForces-April Fools Day Contest 2013 - A
- STL中的二分查找——lower_bound 、upper_bound 、binary_search
- window.location.hash 使用说明
- Steganography,位操作实现图片隐藏
- 使用Maven Java Selenium3.6.0搭建自动化测试环境
- 【系统配置系列】关于Ubuntu加速下载资源库/加速更新软件,你需要知道的事
- codeforces 501A Contest
- jzoj5439【NOIP2017提高A组集训10.31】Calculate
- Shiro使用及出现问题
- echart中doom在项目中的js片段(主要记录下鼠标滚动显示条数不变)
- Effective java第一条:考虑用静态工厂方法代替构造器
- Eclipse常见错误
- E
- Android 高德地图基本的一些显示,地图的缩放,logo与放缩图标的位置显示
- win10系统安装Linux ubuntu