Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
70813 sh25_wangsj 与指定数字相同的数的个数 C++ 通过 0 MS 240 KB 235 2025-10-20 20:08:01

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b,x=0; cin>>a>>b; int y; for(int i=0;i<a;i++){ cin>>y; if(y==b){ x++; } } cout<<x; return 0; }


测评信息: