0_0_13563812_24551\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13563812_24551\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_13563812_24551\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13563812_24551\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_13563812_24551\Main.java:4: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_13563812_24551\Main.java:6: 错误: 需要class, interface或enum
int cmp(char a[])
^
0_0_13563812_24551\Main.java:9: 错误: 需要class, interface或enum
else if(!strcmp(a,"-"))return 2;
^
0_0_13563812_24551\Main.java:10: 错误: 需要class, interface或enum
else if(!strcmp(a,"*"))return 3;
^
0_0_13563812_24551\Main.java:11: 错误: 需要class, interface或enum
else if(!strcmp(a,"/"))return 4;
^
0_0_13563812_24551\Main.java:12: 错误: 需要class, interface或enum
else return 0;
^
0_0_13563812_24551\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:17: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:17: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:17: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:19: 错误: 需要class, interface或enum
return s;
^
0_0_13563812_24551\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:24: 错误: 需要class, interface或enum
double sum,a[222];
^
0_0_13563812_24551\Main.java:25: 错误: 需要class, interface或enum
char s[222],*p,b[222];
^
0_0_13563812_24551\Main.java:26: 错误: 需要class, interface或enum
while(gets(s)&&strcmp(s,"0"))
^
0_0_13563812_24551\Main.java:29: 错误: 需要class, interface或enum
p=strtok(s," ");
^
0_0_13563812_24551\Main.java:30: 错误: 需要class, interface或enum
while(p!=NULL)
^
0_0_13563812_24551\Main.java:33: 错误: 需要class, interface或enum
if(cmp(b)==0)a[l++]=str(b);
^
0_0_13563812_24551\Main.java:34: 错误: 需要class, interface或enum
else a[l++]=-cmp(b);
^
0_0_13563812_24551\Main.java:35: 错误: 需要class, interface或enum
p=strtok(NULL," ");
^
0_0_13563812_24551\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:37: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:37: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:40: 错误: 需要class, interface或enum
else if(a[i]==-4)a[i+1]=a[i-1]/a[i+1],a[i]=a[i-1]=0;
^
0_0_13563812_24551\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:42: 错误: 需要class, interface或enum
sum=0;k=1;
^
0_0_13563812_24551\Main.java:43: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:43: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:43: 错误: 需要class, interface或enum
for(i=0;i<l;i++)
^
0_0_13563812_24551\Main.java:46: 错误: 需要class, interface或enum
else if(a[i]==-2)k=2;
^
0_0_13563812_24551\Main.java:47: 错误: 需要class, interface或enum
else if(k==1)sum+=a[i];
^
0_0_13563812_24551\Main.java:48: 错误: 需要class, interface或enum
else sum-=a[i];
^
0_0_13563812_24551\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_13563812_24551\Main.java:53: 错误: 需要class, interface或enum
}
^
39 个错误
|