6

pls help anybody i am getting tle in O(10^6)

 2 years ago
source link: http://codeforces.com/blog/entry/97038
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

By jovial3, history, 27 hours ago,

27 hours ago, # |

The comment is hidden because of too negative feedback, click here to view it
  • 24 hours ago, # ^ |

    so when u pass that huge array into your function it takes O(size of array) to pass it — no it doesn't

    • 13 hours ago, # ^ |

      sir then what is wrong with my code why it is giving tle

10 hours ago, # |

Rev. 10  

+1

Check the following accepted Java 11 solution using InputStreamReader, BufferedReader and BufferedOutputStream classes.

136061200


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK