/in/foo.cc: In function 'void DFS(int)':
/in/foo.cc:12:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d ",a[now],mn[now],sz[now]);
^
/in/foo.cc:12:37: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc: In function 'int main()':
/in/foo.cc:115:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
for(int i=1;i<=n;i++) scanf("%d",&a[i]);
^