/ /

记录详情

Wrong Answer


  
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect NO. 1ms 384.0 KiB
#2 Wrong Answer Read Yes, expect YES. 1ms 384.0 KiB
#3 Wrong Answer Read No, expect NO. 1ms 384.0 KiB
#4 Wrong Answer Read No, expect NO. 1ms 384.0 KiB
#5 Wrong Answer Read Yes, expect YES. 2ms 384.0 KiB
#6 Wrong Answer Read No, expect NO. 1ms 384.0 KiB

代码

#include<iostream>
using namespace std;
int main()
{
float a,b,c;
cin>>a>>b>>c;
if(a/c==b/a||a/c==c/b||b/c==c/a||b/c==a/b||c/b==b/a||c/b==a/c)
cout<<"Yes";
else
cout<<"No";
}

信息

递交者
类型
递交
题目
P1045 A 等比数列
题目数据
下载
语言
C++
递交时间
2021-08-16 11:52:15
评测时间
2021-08-16 11:52:15
评测机
分数
0
总耗时
11ms
峰值内存
384.0 KiB