...int js(int &n)...int SB(long long &m)
改一下
还有,SB已经爆long long了
你的程序里c就是等于a加b啊,当然是输出12了
函数的返回值,没有在主函数中接收~