I like the humor ...

So here is the outcome
The officials re-set clock to 19 seconds and gave the ball back to Team A to inbound again. Team A got across mid-court in time and scored. Team B had 3 seconds remaining when they got the ball back and failed to score. Team A wins (corrected to Team A)
State association offered this information to Team B (they called the state association to discuss the situation). The officials should have upheld the call and awarded the ball to Team B. Play continues with Team B inbounding the ball at the spot nearest the violation.