diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2011-05-21 04:34:27 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2011-05-21 04:34:27 +0300 |
| commit | 74d843702ecdef0b751c536ea8c2f540df0b367f (patch) | |
| tree | f8abab943ba10a414101411c7f3bb5049b0d89dc /2011/1a/a/a.py | |
| parent | 9ceecbd520e2deb2c32cc140a43ebfd133b9f799 (diff) | |
trying different tactic
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) |
