0_0_35765248_22217.cpp: In member function 'int PAM::newnode(int)': 0_0_35765248_22217.cpp:38:18: error: 'num' was not declared in this scope cnt[p] = num[p] = 0; ^