0_0_21531997_17248.cpp:5:1: error: expected unqualified-id before 'int'
int num[25];
^
0_0_21531997_17248.cpp: In function 'int main()':
0_0_21531997_17248.cpp:14:23: error: 'num' was not declared in this scope
if(x > 0 && x < n) num[tot++] = x;
^
0_0_21531997_17248.cpp:24:12: error: 'num' was not declared in this scope
lcm = num[pos]/__gcd(lcm, num[pos])*lcm;
^
|