Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146408 刘梓含 删除数字字符 C++ Accepted 62 MS 1248 KB 283 2026-01-28 14:08:33

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main (){ char s[1000001]; cin.getline(s,1000001); int i = 0; while(s[i] != '\0') { if(s[i] >= '0' && s[i] <= '9') { i++; continue; } else { cout << s[i]; i++; } } return 0; }