| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 83602 | sh25_huangse | rp | C++ | Wrong Answer | 0 MS | 256 KB | 279 | 2026-01-28 20:01:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int l; cin>>l; string s; getline(cin,s); int renpinzhi=0; for(int i=0;i<l-2;++i){ if(s[i]=='C'&&s[i+1]=='S'&&s[i+2]=='P') ++renpinzhi; } cout<<renpinzhi; return 0; }