11679 - Sub-prime

All about problems in Volume 116. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
peterkwan
New poster
Posts: 16
Joined: Sun Oct 28, 2007 1:54 pm

11679 - Sub-prime

Post by peterkwan » Tue Sep 29, 2009 8:15 am

I got WA all the time for this problem. I guess I have overlooked something unsure, since my program passed the test cases given in the problem description. Could someone post some critical inputs? Thanks.

arifcsecu
Learning poster
Posts: 64
Joined: Fri Sep 25, 2009 11:29 am
Location: Chittagong,University of chittagong
Contact:

Re: 11679 - WA

Post by arifcsecu » Wed Sep 30, 2009 5:44 pm

I think no critical input is required


Here my algorithm is :

after liquidate all debentures
from creditor to debtor

now check that
any of those banks monetary reserves is <0
if yes
print "N\n"
else
print "S\n"

thats
Try to catch fish rather than asking for some fishes.

Post Reply

Return to “Volume 116 (11600-11699)”