foo.cc:20:13: error: variable or field 'add' declared void
20 | inline void add(ll x,ll y,ll z)
| ^~~
foo.cc:20:17: error: 'll' was not declared in this scope
20 | inline void add(ll x,ll y,ll z)
| ^~
foo.cc:20:22: error: 'll' was not declared in this scope
20 | inline void add(ll x,ll y,ll z)
| ^~
foo.cc:20:27: error: 'll' was not declared in this scope
20 | inline void add(ll x,ll y,ll z)
| ^~
foo.cc:24:13: error: variable or field 'dfs' declared void
24 | inline void dfs(ll x,ll val)
| ^~~
foo.cc:24:17: error: 'll' was not declared in this scope
24 | inline void dfs(ll x,ll val)
| ^~
foo.cc:24:22: error: 'll' was not declared in this scope
24 | inline void dfs(ll x,ll val)
| ^~
foo.cc:31:13: error: variable or field 'check' declared void
31 | inline void check(ll x,ll y)
| ^~~~~
foo.cc:31:19: error: 'll' was not declared in this scope
31 | inline void check(ll x,ll y)
| ^~
foo.cc:31:24: error: 'll' was not declared in this scope
31 | inline void check(ll x,ll y)
| ^~
foo.cc: In function 'int main()':
foo.cc:39:23: error: 'n' was not declared in this scope; did you mean 'yn'?
39 | scanf("%lld%lld",&n,&m);
| ^
| yn
foo.cc:39:26: error: 'm' was not declared in this scope; did you mean 'tm'?
39 | scanf("%lld%lld",&n,&m);
| ^
| tm
foo.cc:40:9: error: 'i' was not declared in this scope
40 | For(i,1,n-1) scanf("%lld%lld%lld",&x,&y,&z),add(x,y,z);
| ^
foo.cc:40:5: error: 'For' was not declared in this scope
40 | For(i,1,n-1) scanf("%lld%lld%lld",&x,&y,&z),add(x,y,z);
| ^~~
foo.cc:41:5: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
41 | dfs(1,0);
| ^~~
| ffs
foo.cc:44:25: error: 'ans1' was not declared in this scope
44 | printf("%lld\n%lld",ans1,ans2);
| ^~~~
foo.cc:44:30: error: 'ans2' was not declared in this scope
44 | printf("%lld\n%lld",ans1,ans2);
| ^~~~
[Hydro](https://hydro.ac)提供评测服务