0_0_30981983_2083.cpp:21:1: error: 's' does not name a type s ^ 0_0_30981983_2083.cpp: In function 'int main()': 0_0_30981983_2083.cpp:63:26: error: 'calc' was not declared in this scope printf("%lld\n",(calc(R)-calc(L-1)+mod)%mod); ^