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 1818. Fair Fishermen

WA #11
Posted by Spatarel Dan Constantin 11 Mar 2013 05:20
I got WA #11 and it turned out that I didn't consider the case when all the fishermen don't throw any fish.

Input:
4
0 0 0 0
Output:
256