0_0_30324038_10548.cpp: In function 'int main()':
0_0_30324038_10548.cpp:42:27: error: invalid conversion from 'int*' to 'int' [-fpermissive]
int r=b;
^
0_0_30324038_10548.cpp:43:29: error: invalid operands of types 'int [1001]' and 'int [1001]' to binary 'operator%'
while(a%b!=0){
^
0_0_30324038_10548.cpp:44:29: error: invalid operands of types 'int [1001]' and 'int [1001]' to binary 'operator%'
r=a%b;
^
0_0_30324038_10548.cpp:45:26: error: invalid array assignment
a=b;
^
0_0_30324038_10548.cpp:46:26: error: incompatible types in assignment of 'int' to 'int [1001]'
b=r;
^
|