| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81976 | 杜奕辰 | 删除数字字符 | C++ | Compile Error | 0 MS | 0 KB | 262 | 2024-07-12 16:32:30 |
#include<bits/stdc++.h> using namespace std; int main() { char n[10000000]; cin>>n; while(int i=0; i<strlen(n); i++) { if(n[i]<'0'||n[i]>'9') { continue; }else{ cout<<n[i]; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:18: error: expected ')' before ';' token
while(int i=0; i