Search found 5 matches
- Thu May 22, 2008 11:41 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11451 - Water restrictions
- Replies: 23
- Views: 5707
Re: 11451 - Water restrictions
According to my program, the solution is 19 with d = [ 1, 2, 1, 0, 1, 2 ].
- Thu May 22, 2008 9:59 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11451 - Water restrictions
- Replies: 23
- Views: 5707
Re: 11451 - Water restrictions
In my accepted program i have assumed, that sprinkler with current flow set to 0 irrigates 0 pieces of land.
So i guess the problem's description is not formally correct.
So i guess the problem's description is not formally correct.
- Thu May 22, 2008 9:42 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11451 - Water restrictions
- Replies: 23
- Views: 5707
Re: 11451 - Water restrictions
Well, i'm pretty sure.
In this testcase you have a garden of length 10 and a single sprinkler at position 5 with maximum flow 0. Your total water restriction is also 0.
In that situation you can obviously irrigate only 0 positions.
In this testcase you have a garden of length 10 and a single sprinkler at position 5 with maximum flow 0. Your total water restriction is also 0.
In that situation you can obviously irrigate only 0 positions.
- Wed May 21, 2008 10:20 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11451 - Water restrictions
- Replies: 23
- Views: 5707
Re: 11451 - Water restrictions
The answer is:
Code: Select all
0
- Fri May 16, 2008 10:56 pm
- Forum: Volume 8 (800-899)
- Topic: 848 - Fmt
- Replies: 16
- Views: 14324
Re: 848 - FMT
to Jan:
Thanks a lot for your tastcase, but i think your output file is not correct. Consider 8th line of the input file: you can't remove the newline character at the end of this line, because it is followed by a blank. So the 9th line
_uikgLnWMYC IaqTSKALISxCVyRaZDxXMdltxKxensTbCq
should stay ...
Thanks a lot for your tastcase, but i think your output file is not correct. Consider 8th line of the input file: you can't remove the newline character at the end of this line, because it is followed by a blank. So the 9th line
_uikgLnWMYC IaqTSKALISxCVyRaZDxXMdltxKxensTbCq
should stay ...