Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
120941 | 陈骏睿 | 删除数字字符 | C++ | Accepted | 82 MS | 1252 KB | 457 | 2025-06-02 12:26:51 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char m[1000000]; int a; cin>>m; for(a=0;m[a]!='\0';a++){ if(m[a]>='0'&&m[a]<='9') continue; else cout<<m[a]; } cout<<endl; return 0; }