0_0_30111999_16524.cpp: In function 'void get_sg()': 0_0_30111999_16524.cpp:19:21: error: 'num' was not declared in this scope int r=i-num[k]; ^