0_0_35962436_22786.cpp:101:67: error: 'res' does not name a type printf("ll%d\n",/*(sum(bn,cst)%mod-sum(an-1,cst)%mod+mod)%mod*/res); ^ 0_0_35962436_22786.cpp:102:3: error: expected declaration before '}' token } ^