0_0_21907986_15300.cpp: In function 'int find(int)': 0_0_21907986_15300.cpp:20:17: error: 'cdog' was not declared in this scope for(int i=1;i<=cdog;i++) ^