My code for the program is:
t=int(raw_input()) for i in range(t): a=0 n=int(raw_input()) for j in range(n): ai,bi,ci=input().split() if ai=='1': a+=1 elif bi=='1': a+=1 elif ci=='1': a+=1 print a
But I am getting a NZEC... Am I missing some input?
There are more than 400 AC submissions to that problem at the moment, but no AC Python solution.What do you think the reason is ... ?
I don't know the reason, but I don't think that this can be a reason for my solution not getting accepted...
If there is a problem with more than 400 AC solutions - but no AC solution in Java or Python, it is most probable, that time limit is too strict. So, searching for an error in your code is wasting time ...