diff options
Diffstat (limited to '2011/1a/a/a.py')
| -rw-r--r-- | 2011/1a/a/a.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
