foo.c: In function 'gcd':
foo.c:6:13: warning: type of 'intm' defaults to 'int' [-Wimplicit-int]
    6 |         int gcd(intm,intn)
      |             ^~~
foo.c:6:13: warning: type of 'intn' defaults to 'int' [-Wimplicit-int]
foo.c:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
   17 | }
      | ^
foo.c: In function 'main':
foo.c:17:1: error: expected declaration or statement at end of input
At top level:
foo.c:6:13: warning: 'gcd' defined but not used [-Wunused-function]
    6 |         int gcd(intm,intn)
      |             ^~~
   
  
    [Hydro](https://hydro.ac)提供评测服务