0_0_15689761_32029.cpp: In function 'int main()': 0_0_15689761_32029.cpp:129:32: error: 'cal1' was not declared in this scope ans=(ans+cal1(l)*(up*down)%mod)%mod; ^