0_0_36219422_8412.cpp:4:1: error: '_int64' does not name a type
_int64 gb(_int64 a,_int64 b)//最小公倍数
^
0_0_36219422_8412.cpp:13:1: error: '_int64' does not name a type
_int64 gy(_int64 c,_int64 d)//最大公约数
^
0_0_36219422_8412.cpp: In function 'int main()':
0_0_36219422_8412.cpp:24:2: error: '_int64' was not declared in this scope
_int64 n,sum,fm;
^
0_0_36219422_8412.cpp:25:9: error: expected ';' before 'i'
_int64 i,lcm[22],a,t;
^
0_0_36219422_8412.cpp:26:2: error: 'lcm' was not declared in this scope
lcm[1]=1;
^
0_0_36219422_8412.cpp:27:6: error: 'i' was not declared in this scope
for(i=2;i<23;i++)
^
0_0_36219422_8412.cpp:28:34: error: 'gy' was not declared in this scope
lcm[i]=i*lcm[i-1]/gy(i,lcm[i-1]);//前i个数的最小公倍数
^
0_0_36219422_8412.cpp:29:24: error: 'n' was not declared in this scope
while(~scanf("%I64d",&n))
^
0_0_36219422_8412.cpp:31:3: error: 'sum' was not declared in this scope
sum=0;//分子
^
0_0_36219422_8412.cpp:32:3: error: 'fm' was not declared in this scope
fm=lcm[n];//分母
^
0_0_36219422_8412.cpp:33:7: error: 'i' was not declared in this scope
for(i=1;i<=n;i++)
^
0_0_36219422_8412.cpp:36:3: error: 'a' was not declared in this scope
a=gy(sum,fm);
^
0_0_36219422_8412.cpp:36:14: error: 'gy' was not declared in this scope
a=gy(sum,fm);
^
0_0_36219422_8412.cpp:47:3: error: 't' was not declared in this scope
t=fm;
^
|