| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146449 | 王培臻 | 删除数字字符 | C++ | Wrong Answer | 1 MS | 284 KB | 265 | 2026-01-28 14:29:22 |
#include<bits/stdc++.h> using namespace std; int main() { char a[1000001],s=0; cin>>a; for(int i =0 ;a[i]!='\0';i++){ if(a[i]>='0' and a[i]<='9'){ continue; }else{ cout<<a[i]; } } cout<<a; return 0; } // cin.getline(a,1000001);
------Input------
vvvv23kjhg4lllk89766gff
------Answer-----
vvvvkjhglllkgff
------Your output-----
vvvvkjhglllkgffvvvv23kjhg4lllk89766gff