From 74d843702ecdef0b751c536ea8c2f540df0b367f Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 21 May 2011 04:34:27 +0300 Subject: trying different tactic --- 2011/1a/a/a.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2011/1a/a/a.py') diff --git a/2011/1a/a/a.py b/2011/1a/a/a.py index f69b4c0..6d4bd1e 100644 --- a/2011/1a/a/a.py +++ b/2011/1a/a/a.py @@ -8,8 +8,8 @@ for t in xrange(T): wt = N * PD / 100 wy = N * PG / 100 - - res = 'Possible' if wt >= wy else 'Broken' + + res = 'Possible' if PD > PG else 'Broken' s = "Case #%d: %s\n" % (t+1, res) print s o.write(s) -- cgit v1.3.1