answer.code: In function ‘void solve()’:
answer.code:3:3: error: ‘cin’ was not declared in this scope
3 | cin>>n>>k;
| ^~~
answer.code:4:3: error: ‘vvi’ was not declared in this scope
4 | vvi edge(n);
| ^~~
answer.code:5:7: error: ‘i’ was not declared in this scope
5 | rep(i,n-1){
| ^
answer.code:5:3: error: ‘rep’ was not declared in this scope
5 | rep(i,n-1){
| ^~~
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:41: error: ‘vector’ does not name a type
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~~~
answer.code:14:47: error: expected ‘{’ before ‘<’ token
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^
answer.code:14:48: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^~~~
| int
answer.code:14:53: error: expected primary-expression before ‘{’ token
14 | auto dfs=[&](auto dfs,int v,int p)->vector<mint>{
| ^
answer.code:26:5: error: ‘vector’ was not declared in this scope
26 | vector<mint>dp=dfs(dfs,0,-1);
| ^~~~~~
answer.code:26:17: error: ‘dp’ was not declared in this scope
26 | vector<mint>dp=dfs(dfs,0,-1);
| ^~
answer.code:27:5: error: ‘cout’ was not declared in this scope
27 | cout<<dp[0].val()<<'\n';
| ^~~~
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int
answer.code:31:59: error: ‘mint’ was not declared in this scope; did you mean ‘int’?
31 | auto dfs=[&](auto dfs,int v,int p)->unordered_map<int,mint>{
| ^~~~
| int...