0_0_39093245_22138\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39093245_22138\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39093245_22138\Main.java:2: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39093245_22138\Main.java:7: 错误: 需要class, interface或enum
int LCM(int A,int B)
^
0_0_39093245_22138\Main.java:10: 错误: 需要class, interface或enum
int B1=B;
^
0_0_39093245_22138\Main.java:11: 错误: 需要class, interface或enum
int temp;
^
0_0_39093245_22138\Main.java:12: 错误: 需要class, interface或enum
while(B>0)
^
0_0_39093245_22138\Main.java:15: 错误: 需要class, interface或enum
A=B;
^
0_0_39093245_22138\Main.java:16: 错误: 需要class, interface或enum
B=temp;
^
0_0_39093245_22138\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_39093245_22138\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_39093245_22138\Main.java:30: 错误: 需要class, interface或enum
int temp;
^
0_0_39093245_22138\Main.java:31: 错误: 需要class, interface或enum
int i=0;
^
0_0_39093245_22138\Main.java:32: 错误: 需要class, interface或enum
int c=0;
^
0_0_39093245_22138\Main.java:33: 错误: 需要class, interface或enum
int m;
^
0_0_39093245_22138\Main.java:34: 错误: 需要class, interface或enum
cin >>n;
^
0_0_39093245_22138\Main.java:35: 错误: 需要class, interface或enum
while(n--)
^
0_0_39093245_22138\Main.java:38: 错误: 需要class, interface或enum
if(m<=0)
^
0_0_39093245_22138\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_39093245_22138\Main.java:45: 错误: 需要class, interface或enum
cout<<c<<endl;
^
0_0_39093245_22138\Main.java:46: 错误: 需要class, interface或enum
continue;
^
0_0_39093245_22138\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_39093245_22138\Main.java:51: 错误: 需要class, interface或enum
scanf("%d",&i);
^
0_0_39093245_22138\Main.java:52: 错误: 需要class, interface或enum
c=LCM(c,i);
^
0_0_39093245_22138\Main.java:53: 错误: 需要class, interface或enum
m--;
^
0_0_39093245_22138\Main.java:54: 错误: 需要class, interface或enum
m--;
^
0_0_39093245_22138\Main.java:55: 错误: 需要class, interface或enum
while(m--)
^
0_0_39093245_22138\Main.java:58: 错误: 需要class, interface或enum
c=LCM(i,c);
^
0_0_39093245_22138\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_39093245_22138\Main.java:61: 错误: 需要class, interface或enum
}
^
30 个错误
|