0_0_29779173_11550.cpp:11:1: error: expected unqualified-id before '?' token
?int n,ans,k;
^
0_0_29779173_11550.cpp: In function 'void dfs2(int, int)':
0_0_29779173_11550.cpp:33:20: error: 'n' was not declared in this scope
dp[x][1]+=(n-num[x]);
^
0_0_29779173_11550.cpp: In function 'void dfs3(int, int)':
0_0_29779173_11550.cpp:49:24: error: 'k' was not declared in this scope
for(int j=2;j<=k;j++)
^
0_0_29779173_11550.cpp:63:23: error: 'k' was not declared in this scope
for(int v=k-1;v>=0;v--)
^
0_0_29779173_11550.cpp:70:5: error: 'ans' was not declared in this scope
ans=min(ans,dp[x][0]+dp[x][1]-dis[2][k-1]);
^
0_0_29779173_11550.cpp:70:42: error: 'k' was not declared in this scope
ans=min(ans,dp[x][0]+dp[x][1]-dis[2][k-1]);
^
0_0_29779173_11550.cpp: In function 'int main()':
0_0_29779173_11550.cpp:75:25: error: 'n' was not declared in this scope
while(scanf("%d%d",&n,&k)!=EOF&&n)
^
0_0_29779173_11550.cpp:75:28: error: 'k' was not declared in this scope
while(scanf("%d%d",&n,&k)!=EOF&&n)
^
0_0_29779173_11550.cpp:92:9: error: 'ans' was not declared in this scope
ans=INF;
^
|