0_0_13299006_14987.cpp: In function 'int main()': 0_0_13299006_14987.cpp:77:18: error: 'j' was not declared in this scope elem->group=s[j].group; ^