| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77224 | sh25_shenpy | 统计次数 | C++ | Wrong Answer | 0 MS | 248 KB | 310 | 2025-12-21 17:30:09 |
#include <bits/stdc++.h> #include<cstring> using namespace std; int main() { string s; int n=0; int o=0; bool u; for(int i=0;i<s.size();++i){ cin.get(s[i]); n++; u=(ispunct(s[i])); o+=u; } cout<<n<<endl; cout<<o; return 0; }