| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 73447 | sh25_shenpy | 与指定数字相同的数的个数 | C++ | Wrong Answer | 0 MS | 256 KB | 262 | 2025-11-09 20:16:12 |
#include <bits/stdc++.h> using namespace std; int main( ) { int n,x,sum=0; string s; cin>>n; cin>>s; cin>>x; for(int i=-1;i<n-1;i++) { if(s[i]==x){ sum+=1; } } cout<<sum; return 0; }