Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109273 陈铎文 删除数字字符 C++ Accepted 79 MS 1256 KB 244 2025-02-08 09:22:17

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char ch[1000000]; cin>>ch; int n=0; while(ch[n]!='\0'){ if(ch[n]>='0' and ch[n]<='9'){ n++; continue; } else{ cout<<ch[n]; } n++; } cout<<endl; }