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 1107. Warehouse Problem

idea
Posted by muhammad 7 Feb 2011 21:07
(a+b)%c!=a%c where c>b
(a+b)%c!=(a+p)%c where c>b&&c>p

cute problem. but how could someone ac in 0.046 sec? mine was 0.625
pls share faster idea of solution
Re: idea
Posted by Erop [USU] 9 Jul 2011 02:25
Try to use fread to get the data instead of scanf
it may reduce time from 0.625 to 0.062