I am new to python. I am getting NZEC error on this code. Please someone help. spoj.pl/problems/SOLDIERS/
for i in range(0,int(input())): a,b=map(int,raw_input().split(' ')) c=[(a/2+a%2)*b,(b/2+b%2)*a] print max(c)
Please don't double post I have answered this in your other topic.
Generally, if you have a python question, it's best to post it in this forum. numerix, hendrik and francky are here pretty regularly.