现在的位置: 首页 > 综合 > 正文

hdoj 2552

2019年07月31日 ⁄ 综合 ⁄ 共 239字 ⁄ 字号 评论关闭

http://acm.hdu.edu.cn/showproblem.php?pid=2552

/*
1.tan(a+b) = ( tan(a) + tan(b) ) / (1 – tan(a) * tan(b) )
2.tan( atan(x) ) = x
可以推出结果总是为1
*/
#include <iostream>

using namespace std;

int main()
{
 int n,x;
 scanf("%d",&n);
 while(n--)
 {
  scanf("%d",&x);
  printf("1\n");
 }
 return 0;
}

 

【上篇】
【下篇】

抱歉!评论已关闭.