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 1131. Copying

If WA6
Posted by zerumi 21 Jul 2024 23:42
Try not to use double, probably there is something like ceil(log(n)) = ceil(1.000000000000000000000001) = 2.0

Also in test 6 N is greater than 1.000.000.

I used Int and Float data types and got AC