0_0_28819171_4343.cpp: In function 'int main()': 0_0_28819171_4343.cpp:51:9: error: expected ',' or ';' before 'll' ll ans=((sum-tmp)%mod+mod)%mod; ^ 0_0_28819171_4343.cpp:52:25: error: 'ans' was not declared in this scope printf("%lld\n",ans); ^