Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2718 | 孙浚轩 | 删除数字字符 | C++ | Runtime Error | 2007 MS | 1236 KB | 242 | 2024-01-20 23:30:03 |
#include<iostream> #include<cstring> using namespace std; int main(){ char a[1000000]; cin>>a; int i=0; while(i<strlen(a)){ if(a[i]<'0'||a[i]>'9') cout<<a[i]; i++; } return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275