0_0_26176238_5509.cpp: In function 'int prim()': 0_0_26176238_5509.cpp:29:12: error: 'ans' was not declared in this scope return ans; ^