HDU 5066 Harry And Physical Teacher(数学)
2016-03-15 21:00
405 查看
动能方程。。。。。
#include<iostream> #include<cstdio> #include<set> #include<string> #include<string.h> #include<cstring> #include<vector> #include<map> #include<queue> #include<stack> #include<cctype> #include<algorithm> #include<sstream> #include<utility> #include<cmath> #include<functional> #define mt(a) memset(a,0,sizeof (a)) #define fl(a,b,c) fill(a,b,c) #define SWAP(a,b,t) (t=a,a=b,b=t) #define inf 1000000000+7 using namespace std; typedef long long ll; int main() { ll x, y; while (cin >> x >> y) { cout <<2*x-y << endl; } return 0; }
相关文章推荐
- sqoop导出mysql数据进入hive错误
- Qt中多线程的一种使用
- 多源最短路径问题-floyd warshall
- poj 1328 Radar Installation
- Android源代码分析之Framework的MediaPlayer
- iOS 自定义对象转NSDictionary
- mysql优化
- sqoop导出mysql数据进入hive错误
- 乐观锁和悲观所
- lstm的debug模式下编译不行貌似
- Go语言核心之美 1.5-作用域
- CodeForces 526A-King of Thieves
- 通过CAGradientLayer制作渐变色效果(转)
- poj-1012-约瑟夫问题
- 【SPL标准库专题(3)】 Classes
- squid 启动报错
- 51nod 1191-贪心+并查集
- Android系统开发之二:系统Jar包生成和Eclipse中引用
- 项目问题
- 蓝桥杯2014年本科B组C/C++ 地宫取宝(记忆化搜索)