0_0_30710184_9639.cpp: In function 'int main()': 0_0_30710184_9639.cpp:25:19: error: 'ans' was not declared in this scope cout<<"Case "<<ans<<": "<<count<<endl; ^