For the LR(0) DFA I can clearly see why this is a Shift/Reduce conflict:
(partial DFA)
But I can't understand why the LR(1) DFA solves the problem?
For me this is still a shift reduce conflict since the lookahead symbol is exactly the same for the B rule? How should the LR(1) parser distinguish them, but not the LR(0) one?