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