I get a TLE for this code. Question is value of 6∑pk=1∑mj=1∑ni=1(a+(i−1)bj)(c+(i−1)dk) modulo 109+7

后端 未结 0 467
醉酒成梦
醉酒成梦 2021-02-07 00:20

This is my code:

I have used try-catch to handle errors. Its showing timelimit exceeded. How can I optimize my solution. I have used nested loops.

#include         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题