I think you should revisit the problem statement, the problem says that the second input is a float number with 2 places of decimal precision.
So instead of amt,total=map(int,input().split(" "))
You should write this as amt,total=map(float,input().split(" "))
I did this correction and re-submitted your code ( correction done in your latest submission to that problem ).
This rectification frees you from the NZEC error ; but still you would receive a WA verdict (meaning that you should think again the logic of question to what the question demands and what you are doing)
Hope this helps…!