/ /

记录详情

Wrong Answer


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

代码

#include<iostream>
using namespace std;
int main()
{
	int a[10],i,sum=0;
	int m;
	for(i=0;i<10;i++)
	{
		cin>>a[i];
	}
	cin>>m;
	for(i=0;i<10;i++)
	{
		if(m>=a[i])
		sum++;
	}
	cout<<sum;
}

信息

递交者
类型
递交
题目
P1003 陶陶摘苹果
题目数据
下载
语言
C++
递交时间
2021-08-10 12:08:30
评测时间
2021-08-10 12:08:30
评测机
分数
10
总耗时
19ms
峰值内存
384.0 KiB