Main.cc: In function 'int z(int)': Main.cc:18:14: error: 's' was not declared in this scope r=s*10+y%10; ^