0_0_19767902_32513.cpp: In function 'bool yes(char*, int)': 0_0_19767902_32513.cpp:14:31: error: 'p' was not declared in this scope mod = (mod*10 + str[i]-'0')%p; ^