0_0_30278644_9228.cpp: In function 'int main()': 0_0_30278644_9228.cpp:33:60: error: expected ';' before ')' token printf("%lld\n", (sum[r] - sum[l]) + mod) % mod); ^