| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155387 | 张蔚林 | 删除数字字符 | C++ | Compile Error | 0 MS | 0 KB | 224 | 2026-06-07 11:10:56 |
#include<bits/stdc++.h> using namespace std; int main(){ char z[1000001]={}; cin>>z; int i=0; while(z[i]!='\0'){ if(z[i]>='0'&&z[i]<='9'){ continue } else{ cout<<z[i] } i++ } return 0; }
Main.cc: In function 'int main()': Main.cc:10:3: error: expected ';' before '}' token } ^ Main.cc:13:3: error: expected ';' before '}' token } ^ Main.cc:15:2: error: expected ';' before '}' token } ^