这题真难,并不会推理。。。

#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std; long long a, b, c;
int p; int main()
{
int T;
scanf("%d", &T);
while (T--)
{
scanf("%lld%lld%lld", &a, &b, &c);
scanf("%d%d%d", &p, &p, &p);
long long x = (a + b + c)*(b + c - a)*(a + c - b)*(a + b - c);
long long z = (long long)sqrt(x);
if (z*z == x) printf("YES\n");
else printf("NO\n");
}
return ;
}

最新文章

  1. 谱聚类(spectral clustering)原理总结
  2. 【转载】Shell判断字符串包含关系的几种方法
  3. Python爬虫基础知识入门一
  4. [Linux]centOS7下RPM安装Perl
  5. 扩展duilib edit控件的提示功能和多种文字颜色(解决edit为password显示不正常的bug)
  6. html元素中class属性值多个空格分格
  7. c 按范围快速指定整数
  8. libpcap/wwinpcap
  9. HDU-1020(水题)
  10. Top 12 Best Free Network Monitoring Tools (12种免费网络监控工具)
  11. Discuz论坛下载与安装
  12. include()、include_once()与require()、require_once()的异同点
  13. 如何解析复杂的C语言声明
  14. JAVA card 应用开发(三) 把APPLET(CAP文件)装载到卡片
  15. 移动端click事件延迟300ms的原因以及解决办法[转载]
  16. 51nod 1270 数组的最大代价
  17. SSH学习
  18. Aragorn&#39;s Story HDU - 3966 -树剖模板
  19. eclipse快捷键调试总结 -转--快捷键大全
  20. python中RabbitMQ的使用(工作队列)

热门文章

  1. KVC 实战浅析
  2. Android ViewDragHelper完全解析 自定义ViewGroup神器
  3. 关于js向jsp中传输中文乱码问题
  4. 网络获取的XML的Pull解析
  5. JSON 串 自定义解析字段
  6. Class.forName() 初始化、Thread.currentThread().getContextClassLoader().getResourceAsStream
  7. Contest - 多校训练(985专场) Problem C: 985的方格难题
  8. Chapter 1 First Sight——12
  9. EL表达式,保留小数点后两位
  10. Windows查看端口被哪个进程占用