foo.c: In function 'find':
foo.c:4:17: error: expected expression before 'int'
4 | { int ans=1,i,t=int(sqrt(x));
| ^~~
foo.c: In function 'main':
foo.c:13:3: error: 'p' undeclared (first use in this function)
13 | {p= find(i);
| ^
foo.c:13:3: note: each undeclared identifier is reported only once for each function it appears in
foo.c:14:27: error: 'ans' undeclared (first use in this function)
14 | if (p>i){if (find(p)==i) ans++;}}
| ^~~
foo.c:11:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%d %d",&a,&b);
| ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务