| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128927 | 罗安博 | 删除数字字符 | C++ | Compile Error | 0 MS | 0 KB | 195 | 2025-08-21 10:06:23 |
#include<bits/stdc++.h> using namespace std; char a[1000000]; int main(){ cin>>a; int b=strlen(a) ; for(int i=0;i<=b-1;i++){ if(a[i],<=0||&&a[i]>=9){ cout<<a[i]; } } }
Main.cc: In function 'int main()':
Main.cc:8:11: error: expected primary-expression before '<=' token
if(a[i],<=0||&&a[i]>=9){
^
Main.cc:8:19: error: expected ')' before '[' token
if(a[i],<=0||&&a[i]>=9){
^
Main.cc:8:18: error: label 'a' used but not defined
if(a[i],<=0||&&a[i]>=9){
^