count_triplets.cpp:1:2: error: invalid preprocessing directive #incude; did you mean #include?
1 | #incude <bits/stdc++.h>
| ^~~~~~
| include
count_triplets.cpp:5:98: error: redefinition of 'long long int c'
5 | int n, m, c, low[100005], dfn[100005], avsub[100005], sub[100005], st[100005], top=-1, dft, ans, c;
| ^
count_triplets.cpp:5:11: note: 'long long int c' previously declared here
5 | int n, m, c, low[100005], dfn[100005], avsub[100005], sub[100005], st[100005], top=-1, dft, ans, c;
| ^
count_triplets.cpp:6:1: error: 'vector' does not name a type
6 | vector<int> adj[100005];
| ^~~~~~
count_triplets.cpp: In function 'void cc_cnt(long long int)':
count_triplets.cpp:11:15: error: 'adj' was not declared in this scope
11 | for(int v : adj[u]) if(!vis[v]) cc_cnt(v);
| ^~~
count_triplets.cpp: In function 'void dfs(long long int, long long int)':
count_triplets.cpp:16:12: error: 'adj' was not declared in this scope
16 | for(int i:adj[u])
| ^~~
count_triplets.cpp:21:6: error: 'll' was not declared in this scope
21 | ll sq=0,sz=0;
| ^~
count_triplets.cpp:23:38: error: 'sq' was not declared in this scope; did you mean 'st'?
23 | for(int x=-1;x!=i;) x=st[top--],sq+=(ll)avsub[x]*avsub[x],++sz;
| ^~
| st
count_triplets.cpp:24:11: error: 'sz' was not declared in this scope; did you mean 'st'?
24 | ans-=sz*((c-sub[i])*(c-sub[i])+sq);
| ^~
| st
count_triplets.cpp:24:37: error: 'sq' was not declared in this scope; did you mean 'st'?
24 | ans-=sz*((c-sub[i])*(c-sub[i])+sq);
| ^~
| st
count_triplets.cpp:26:17: error: 'min' was not declared in this scope
26 | else low[u]=min(low[u],low[i]);
| ^~~
count_triplets.cpp:28:34: error: 'min' was not declared in this scope
28 | else if(dfn[u]>dfn[i]) low[u]=min(low[u],dfn[i]);
| ^~~
count_triplets.cpp:17:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
17 | if(i!=f)
| ^
count_triplets.cpp: In function 'int main()':
count_triplets.cpp:32:3: error: 'cin' was not declared in this scope
32 | cin >> n >> m;
| ^~~
count_triplets.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | #incude <bits/stdc++.h>
count_triplets.cpp:35:5: error: 'adj' was not declared in this scope
35 | adj[u].push_back(v); adj[v].push_back(u);
| ^~~
count_triplets.cpp:38:2: error: 'cout' was not declared in this scope
38 | cout << ans << "\n";
| ^~~~
count_triplets.cpp:38:2: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?