0_0_25012623_1481.cpp:4:1: error: 'longlong' does not name a type
longlong gcd(longlong a,longlong b)
^
0_0_25012623_1481.cpp: In function 'int main()':
0_0_25012623_1481.cpp:11:2: error: 'longlong' was not declared in this scope
longlong n,i,k,ans,num;
^
0_0_25012623_1481.cpp:12:28: error: 'n' was not declared in this scope
while(~scanf("%Ild %Ild",&n,&k))
^
0_0_25012623_1481.cpp:12:31: error: 'k' was not declared in this scope
while(~scanf("%Ild %Ild",&n,&k))
^
0_0_25012623_1481.cpp:14:3: error: 'ans' was not declared in this scope
ans=1;
^
0_0_25012623_1481.cpp:16:7: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_25012623_1481.cpp:18:18: error: 'num' was not declared in this scope
scanf("%Ild",&num);
^
0_0_25012623_1481.cpp:19:23: error: 'gcd' was not declared in this scope
ans=ans/gcd(ans,num)*num;
^
|