Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159558 李昱龙 删除数字字符 C++ Runtime Error 1 MS 272 KB 217 2026-09-05 14:56:41

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[1005]; int main(){ cin>>a; int len=strlen(a); for(int i=0;i<=len-1;i++){ if('9'>=a[i]&&a[i]>='0'){ continue; } cout<<a[i]; } return 0; }


Run Info:

Runtime Error:Segmentation fault