ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1776. Anniversary Firework

Complexity
Posted by AT1 14 Sep 2011 07:25
Could you say complexity of yours AC solution?
(mine is N^3, so I would like to know is there better ways to solve this problem).
Re: Complexity
Posted by ValenKof 9 Oct 2011 23:54
I think n^2 is possible. Mine is n^3 too and it works about 0.350s, but there are a lot of 0.031s solutions.