0_0_29448877_3671.cpp:1:1: error: stray '##' in program
##include <bits/stdc++.h>
^
0_0_29448877_3671.cpp:1:3: error: 'include' does not name a type
##include <bits/stdc++.h>
^
0_0_29448877_3671.cpp: In function 'void init()':
0_0_29448877_3671.cpp:18:34: error: 'memset' was not declared in this scope
memset(head, -1, sizeof(head));
^
0_0_29448877_3671.cpp: In function 'int dfs(int)':
0_0_29448877_3671.cpp:37:38: error: 'max' was not declared in this scope
dp[u] = max(dp[u], (LL)dfs(v));
^
0_0_29448877_3671.cpp: In function 'int main()':
0_0_29448877_3671.cpp:44:31: error: 'scanf' was not declared in this scope
while(scanf("%d%d", &n, &m)!=EOF)
^
0_0_29448877_3671.cpp:44:34: error: 'EOF' was not declared in this scope
while(scanf("%d%d", &n, &m)!=EOF)
^
0_0_29448877_3671.cpp:56:67: error: 'max' was not declared in this scope
for(int i=1;i<=n;i++) if(!out[i])ans = max(ans, (LL)dfs(i));
^
0_0_29448877_3671.cpp:57:27: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|