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 1375. Bill Clevers

O(p^2) works
Posted by buyolitsez`~ 10 Aug 2020 11:52
0.046 - O(p) solution.
0.468 - O(p^2) solution, please add more tests.
UPD: understood, that there is cant be NO SOLUTION. But you can enlarge p.

Edited by author 10.08.2020 12:39