0_0_31580964_11805.cpp: In function 'int main()': 0_0_31580964_11805.cpp:52:86: error: expected primary-expression before '<<' token cout<<((((1+n)*n%mod)*qkpow(2,mod-2)-(solve(n)*n%mod)*qkpow(2,mod-2))%mod+mod)%mod;<<'\n'; ^