0_0_29407207_1299.cpp: In function 'void prim(int)': 0_0_29407207_1299.cpp:30:9: error: 'ans' was not declared in this scope ans+=u;//ΌΣ±ίΘ¨ ^ 0_0_29407207_1299.cpp:40:19: error: 'ans' was not declared in this scope printf("%d\n",ans); ^