Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88521 倪士燊 删除数字字符 C++ Accepted 73 MS 1248 KB 302 2024-08-19 11:27:40

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; char s[1000001]; int main() { cin >> s; int n = strlen(s); for(int i = 0; i <= n-1; i++) { if(s[i] >= 48 && s[i] <= 57) { } else { cout << s[i]; } } return 0; }