0_0_32416770_1986.cpp: In function 'int main()': 0_0_32416770_1986.cpp:28:4: error: 'sg' was not declared in this scope sg=0; ^