Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
55803 该账号已封禁 与指定数字相同的数的个数 C++ 编译错误 0 MS 0 KB 219 2024-11-08 15:35:38

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main() { int a,n,num,s=0; cin>>a>>num; for(int i=1;i<=a;1++){ cin>>n; if (n=num){ s++; } } cout<<s; }


测评信息: