Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88511 | 陈昊然 | 删除数字字符 | C++ | Runtime Error | 0 MS | 272 KB | 223 | 2024-08-19 11:20:06 |
#include<bits/stdc++.h> using namespace std; char c[201],a,b; int main(){ cin>>c; int n=strlen(c); int l=0; while(l<=n-1){ if(c[l]+0>=48&&c[l]+0<=57){ }else{ cout<<c[l]; } l++; } return 0; }
Runtime Error:Segmentation fault