Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88514 田苒彤 删除数字字符 C++ Runtime Error 3 MS 360 KB 230 2024-08-19 11:22:41

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; char s[100000]; 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; }


Run Info:

Runtime Error:Segmentation fault