foo.cpp: In function 'void hs()':
foo.cpp:21:6: error: invalid conversion from 'int*' to 'int' [-fpermissive]
hh[a]=m;
^
foo.cpp: In function 'void add()':
foo.cpp:38:6: error: invalid operands of types 'int [100]' and 'int' to binary 'operator/'
if(m/n>0)
^
foo.cpp:40:5: error: invalid operands of types 'int [100]' and 'int' to binary 'operator/'
m=m/n+m;
^
foo.cpp:41:5: error: invalid operands of types 'int [100]' and 'int' to binary 'operator%'
m=m%n;
^
foo.cpp: In function 'int pdhw()':
foo.cpp:50:5: warning: unused variable 'x' [-Wunused-variable]
int x=1;
^
foo.cpp: In function 'int main()':
foo.cpp:63:20: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[100]' [-Wformat=]
scanf("%d%s",&n,&mm);
^