POJ 1658 Eva's Problem
来源:互联网 发布:激战2人类男捏脸数据 编辑:程序博客网 时间:2024/04/27 07:31
这题注意判断。。不要写连等。。WA了一次。。
#include <cstdio>using namespace std;int main(){int nCase;scanf("%d",&nCase);while(nCase--){int a,b,c,d,e;scanf("%d%d%d%d",&a,&b,&c,&d);if(b-a==c-b&&c-b==d-c)e=d+d-c;else e=d*d/c;printf("%d %d %d %d %d\n",a,b,c,d,e);} return 0;}
- POJ 1658 Eva's Problem
- POJ 1658 Eva's Problem
- poj 1658 Eva's Problem
- poj 1658 Eva's Problem
- poj 1658 Eva's Problem
- poj 1658 Eva's Problem(水题)
- POJ 1658 Eva's Problem(水~)
- Eva's Problem - 1658
- 百练 1658 Eva's Problem
- Eva's Problem
- poj1658 Eva's Problem!
- POJ 1658 Eva's Problem(水到极点)
- POJ-1658-Eva's Problem-2013-11-28 22:03:45
- POJ1658浅析------Eva's Problem
- POJ 1658 Eva's Problem(我的水题之路——等差or等比)
- POJ 1702 Eva's Balance
- POJ 1702 Eva's Balance
- poj 1702(Eva's Balance)
- CSS中的z-index属性设置问题 本文来源于[沒有觀點]
- c# 设计模式(2)结构型
- 平分一个数,使得各份相乘所得到的积最大
- c# 设计模式(3)行为型
- memcache 安装
- POJ 1658 Eva's Problem
- 未能加载文件或程序集“XXX”或它的某一个依赖项。试图加载格式不正确的程序
- Oracle中的RMAN,冷备份、热备份简介
- 服务器的部署
- JQuery常用标签
- [MEMO]linux常用命令
- js 日期比较大小
- 使用注解,实现ssh项目中spring配置文件的零配置,约定优于配置
- E是可编辑集合