summaryrefslogtreecommitdiff
path: root/2011/1b/a/a.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-05-21 18:50:12 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-05-21 18:50:12 +0300
commit04a3d8142ba58fd977a31e6a5e26242e8b804c82 (patch)
tree7ea4324df496cd416037dab604a8cebf6f96aca4 /2011/1b/a/a.py
parentbe3f71691cab09fc6b3d752bfc8c3db9f38c5cbc (diff)
1b cleanupHEADmaster
Diffstat (limited to '2011/1b/a/a.py')
-rw-r--r--2011/1b/a/a.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/2011/1b/a/a.py b/2011/1b/a/a.py
index 806eb95..e97ce50 100644
--- a/2011/1b/a/a.py
+++ b/2011/1b/a/a.py
@@ -4,14 +4,9 @@ o = open('1.out', 'w')
T = int(f.readline().strip())
for t in xrange(T):
- (N, PD, PG) = map(int, f.readline().strip().split(' '))
+ (N, M) = map(int, f.readline().strip().split(' '))
- wt = (N * PD)
- wy = (N * PG)
-
- print (wt, wy)
-
- res = 'Possible' if PD >= PG else 'Broken'
+ res = N
s = "Case #%d: %s\n" % (t+1, res)
print s
o.write(s)