pipes.cpp:11:1: error: 'll' does not name a type
11 | ll a[N], ans[N];
| ^~
pipes.cpp: In function 'int main()':
pipes.cpp:27:23: error: 'a' was not declared in this scope
27 | scanf("%lld", a+i);
| ^
pipes.cpp:36:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
36 | ans[par[x].ss] = a[x] * 2;
| ^~~
| abs
pipes.cpp:36:26: error: 'a' was not declared in this scope
36 | ans[par[x].ss] = a[x] * 2;
| ^
pipes.cpp:40:10: error: 'a' was not declared in this scope
40 | if (!a[1]){
| ^
pipes.cpp:42:30: error: 'ans' was not declared in this scope; did you mean 'abs'?
42 | printf("%lld\n", ans[i]);
| ^~~
| abs
pipes.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
pipes.cpp:30:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d%d", &u, &v);
| ~~~~~^~~~~~~~~~~~~~~~