0_0_39417076_22389.cpp:3:8: error: 'll' does not name a type
3 | inline ll read(){
| ^~
0_0_39417076_22389.cpp:13:1: error: 'll' does not name a type
13 | ll gcd(ll a,ll b){ return b==0?a:gcd(b,a%b);}
| ^~
0_0_39417076_22389.cpp:19:1: error: 'll' does not name a type
19 | ll low[manx],dfn[manx],ssc[manx],s[manx],vis[manx],head[manx];
| ^~
0_0_39417076_22389.cpp:20:1: error: 'll' does not name a type
20 | ll x[manx],y[manx],in[manx],out[manx],cnts[manx];
| ^~
0_0_39417076_22389.cpp:21:1: error: 'll' does not name a type
21 | ll k,cnt,tot,top,id;
| ^~
0_0_39417076_22389.cpp:23:5: error: 'll' does not name a type
23 | ll v,next;
| ^~
0_0_39417076_22389.cpp: In function 'void init()':
0_0_39417076_22389.cpp:26:12: error: 'vis' was not declared in this scope
26 | memset(vis,0,sizeof(vis));
| ^~~
0_0_39417076_22389.cpp:27:12: error: 'low' was not declared in this scope; did you mean 'pow'?
27 | memset(low,0,sizeof(low));
| ^~~
| pow
0_0_39417076_22389.cpp:28:12: error: 'dfn' was not declared in this scope
28 | memset(dfn,0,sizeof(dfn));
| ^~~
0_0_39417076_22389.cpp:29:12: error: 'ssc' was not declared in this scope
29 | memset(ssc,0,sizeof(ssc));
| ^~~
0_0_39417076_22389.cpp:30:12: error: 'head' was not declared in this scope
30 | memset(head,-1,sizeof(head));
| ^~~~
0_0_39417076_22389.cpp:31:12: error: 'cnts' was not declared in this scope
31 | memset(cnts,0,sizeof(cnts));
| ^~~~
0_0_39417076_22389.cpp:32:12: error: 'in' was not declared in this scope; did you mean 'sin'?
32 | memset(in,0,sizeof(in));
| ^~
| sin
0_0_39417076_22389.cpp:33:12: error: 'out' was not declared in this scope
33 | memset(out,0,sizeof(out));
| ^~~
0_0_39417076_22389.cpp:34:12: error: 's' was not declared in this scope
34 | memset(s,0,sizeof(s));
| ^
0_0_39417076_22389.cpp:35:5: error: 'top' was not declared in this scope
35 | top=tot=cnt=k=id=0;
| ^~~
0_0_39417076_22389.cpp:35:9: error: 'tot' was not declared in this scope
35 | top=tot=cnt=k=id=0;
| ^~~
0_0_39417076_22389.cpp:35:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
35 | top=tot=cnt=k=id=0;
| ^~~
| int
0_0_39417076_22389.cpp:35:17: error: 'k' was not declared in this scope
35 | top=tot=cnt=k=id=0;
| ^
0_0_39417076_22389.cpp:35:19: error: 'id' was not declared in this scope; did you mean 'void'?
35 | top=tot=cnt=k=id=0;
| ^~
| void
0_0_39417076_22389.cpp: In function 'void add(int, int)':
0_0_39417076_22389.cpp:38:7: error: 'k' was not declared in this scope
38 | a[k].next=head[u];
| ^
0_0_39417076_22389.cpp:38:15: error: 'head' was not declared in this scope
38 | a[k].next=head[u];
| ^~~~
0_0_39417076_22389.cpp: In function 'void tarjan(int)':
0_0_39417076_22389.cpp:43:5: error: 'low' was not declared in this scope; did you mean 'pow'?
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^~~
| pow
0_0_39417076_22389.cpp:43:12: error: 'dfn' was not declared in this scope
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^~~
0_0_39417076_22389.cpp:43:21: error: 'id' was not declared in this scope
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^~
0_0_39417076_22389.cpp:43:24: error: 'vis' was not declared in this scope
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^~~
0_0_39417076_22389.cpp:43:33: error: 's' was not declared in this scope
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^
0_0_39417076_22389.cpp:43:37: error: 'top' was not declared in this scope
43 | low[u]=dfn[u]=++id,vis[u]=1,s[++top]=u;
| ^~~
0_0_39417076_22389.cpp:44:15: error: 'head' was not declared in this scope
44 | for(int i=head[u];i!=-1;i=a[i].next){
| ^~~~
0_0_39417076_22389.cpp:44:36: error: 'struct node' has no member named 'next'
44 | for(int i=head[u];i!=-1;i=a[i].next){
| ^~~~
0_0_39417076_22389.cpp:45:20: error: 'struct node' has no member named 'v'
45 | int v=a[i].v;
| ^
0_0_39417076_22389.cpp:52:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
52 | cnt++;
| ^~~
| int
0_0_39417076_22389.cpp:55:13: error: 'ssc' was not declared in this scope
55 | ssc[v]=cnt;
| ^~~
0_0_39417076_22389.cpp:56:13: error: 'cnts' was not declared in this scope
56 | cnts[cnt]++;
| ^~~~
0_0_39417076_22389.cpp: In function 'int main()':
0_0_39417076_22389.cpp:62:5: error: 'll' was not declared in this scope
62 | ll p=read(),u,v,t=1;
| ^~
0_0_39417076_22389.cpp:63:11: error: 'p' was not declared in this scope
63 | while(p--){
| ^
0_0_39417076_22389.cpp:64:11: error: expected ';' before 'n'
64 | ll n=read(),m=read();
| ^~
| ;
0_0_39417076_22389.cpp:66:24: error: 'm' was not declared in this scope
66 | for(int i=1;i<=m;i++){
| ^
0_0_39417076_22389.cpp:67:13: error: 'u' was not declared in this scope
67 | u=x[i]=read(),v=y[i]=read();
| ^
0_0_39417076_22389.cpp:67:15: error: 'x' was not declared in this scope
67 | u=x[i]=read(),v=y[i]=read();
| ^
0_0_39417076_22389.cpp:67:20: error: 'read' was not declared in this scope; did you mean 'fread'?
67 | u=x[i]=read(),v=y[i]=read();
| ^~~~
| fread
0_0_39417076_22389.cpp:67:27: error: 'v' was not declared in this scope
67 | u=x[i]=read(),v=y[i]=read();
| ^
0_0_39417076_22389.cpp:67:29: error: 'y' was not declared in this scope
67 | u=x[i]=read(),v=y[i]=read();
| ^
0_0_39417076_22389.cpp:70:24: error: 'n' was not declared in this scope
70 | for(int i=1;i<=n;i++)
| ^
0_0_39417076_22389.cpp:71:17: error: 'dfn' was not declared in this scope
71 | if(!dfn[i]) tarjan(i);
| ^~~
0_0_39417076_22389.cpp:72:12: error: 'cnt' was not declared in this scope; did you mean 'int'?
72 | if(cnt==1){
| ^~~
| int
0_0_39417076_22389.cpp:73:36: error: 't' was not declared in this scope; did you mean 'tm'?
73 | printf("Case %d: -1\n",t++);
| ^
| tm
0_0_39417076_22389.cpp:76:24: error: 'm' was not declared in this scope
76 | for(int i=1;i<=m;i++){
| ^
0_0_39417076_22389.cpp:77:13: error: 'u' was not declared in this scope
77 | u=ssc[x[i]],v=ssc[y[i]];
| ^
0_0_39417076_22389.cpp:77:15: error: 'ssc' was not declared in this scope
77 | u=ssc[x[i]],v=ssc[y[i]];
| ^~~
0_0_39417076_22389.cpp:77:19: error: 'x' was not declared in this scope
77 | u=ssc[x[i]],v=ssc[y[i]];
| ^
0_0_39417076_22389.cpp:77:25: error: 'v' was not declared in this scope
77 | u=ssc[x[i]],v=ssc[y[i]];
| ^
0_0_39417076_22389.cpp:77:31: error: 'y' was not declared in this scope
77 | u=ssc[x[i]],v=ssc[y[i]];
| ^
0_0_39417076_22389.cpp:79:17: error: 'out' was not declared in this scope
79 | out[u]++,in[v]++;
| ^~~
0_0_39417076_22389.cpp:79:26: error: 'in' was not declared in this scope; did you mean 'i'?
79 | out[u]++,in[v]++;
| ^~
| i
0_0_39417076_22389.cpp:81:11: error: expected ';' before 'ans'
81 | ll ans=n*(n-1)-m,mi=n;
| ^~~~
| ;
0_0_39417076_22389.cpp:82:24: error: 'cnt' was not declared in this scope; did you mean 'int'?
82 | for(int i=1;i<=cnt;i++)
| ^~~
| int
0_0_39417076_22389.cpp:83:17: error: 'in' was not declared in this scope; did you mean 'i'?
83 | if(!in[i]||!out[i])
| ^~
| i
0_0_39417076_22389.cpp:83:25: error: 'out' was not declared in this scope
83 | if(!in[i]||!out[i])
| ^~~
0_0_39417076_22389.cpp:84:17: error: 'mi' was not declared in this scope; did you mean 'i'?
84 | mi=min(mi,cnts[i]);
| ^~
| i
0_0_39417076_22389.cpp:84:27: error: 'cnts' was not declared in this scope
84 | mi=min(mi,cnts[i]);
| ^~~~
0_0_39417076_22389.cpp:85:28: error: 't' was not declared in this scope; did you mean 'tm'?
85 | printf("Case %d: ",t++);
| ^
| tm
0_0_39417076_22389.cpp:86:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
86 | cout<<ans-
|