Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88513 | 陈昊然 | 删除数字字符 | C++ | Accepted | 59 MS | 1244 KB | 227 | 2024-08-19 11:20:49 |
#include<bits/stdc++.h> using namespace std; char c[1000001],a,b; int main(){ cin>>c; int n=strlen(c); int l=0; while(l<=n-1){ if(c[l]+0>=48&&c[l]+0<=57){ }else{ cout<<c[l]; } l++; } return 0; }