Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2747 | 莫业祁 | 删除数字字符 | C++ | Runtime Error | 1994 MS | 256 KB | 332 | 2024-01-22 13:32:24 |
# include<iostream> using namespace std; int main(){ char s[1000001],o[1000001]; cin>>s; int i=0,j=0; while(s[i]!='\0'){ if(s[i]>48&&s[i]<58){ continue; } else{ s[i]=o[j]; j++; } i++; } cout<<o; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275