Gave Cf Div 3 yesterday
Solved Problem A fast enough.
For B, I went straight into simulation and missed the key observation:
when s > k, even turns give k sand on the last flip, odd turns give s.
Then just could not concentrate for the C, will upsolve C today itself;