← All problemsSign in

Transfusion Chain

CodeChefRating 1214Open on judge ↗

In living donation, the following blood types are compatible: - Blood type `A` donors can donate to recipients with blood types `A` and `AB`. - Blood type `B` donors can donate to recipients with blood types `B` and `AB`. - Blood type `AB` donors can donate to recipients with blood type `AB` only. - Blood type `O` donors can donate to recipients with blood types `A`, `B`, `AB` and `O`. There are

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start