1077
来源:互联网 发布:上瘾网络剧台湾人评论 编辑:程序博客网 时间:2024/06/16 21:50
#include<stdio.h>#include<math.h>main(){int n;scanf("%d",&n);float x,y[n];int i;for(i=0;i<=n-1;i++){scanf("%f",&x);if(x<-2)y[i]=x*x-sin(x);else if(x<=2)y[i]=pow(2,x)+x;elsey[i]=sqrt(x*x+x+1);}for(i=0;i<=n-1;i++){printf("%.2f\n",y[i]);}}
0 0
- 1077
- 1077: Slash
- POJ 1077
- pat 1077
- poj 1077
- pat 1077
- PAT 1077
- 1077 Kuchiguse
- HDU 1077
- PAT 1077
- POJ 1077
- poj 1077 EIGHT
- poj 1077 Eight
- POJ 1077 解题报告
- poj 1077 Eight
- poj 1077 八数码
- pku acm 1077
- POJ 1077 Eight A*
- 1075
- USB的“JoyStickMouse”例程分析——学习笔记(2)__例程结构分析+芯片的接口
- 2015后台开发训练记录错题集
- c#处理3种json数据的实例
- 1076
- 1077
- C++之多重继承引发的重复调用
- 开源代码下载_源码盒子(www.srcbin.net)
- PHP常见考点
- GDB的简单使用
- 5.1(接口)1)定义shape接口,包含求面积和求周长的方法;2)定义Circle类、Rectangle类、Square类;
- HDU 1088 输入输出格式题
- 关于main方法中的args的参数
- 1078