Answer: B
Removing H+ from an imide gives an anion whose charge is delocalised over two carbonyl oxygens. An amide has only one carbonyl and amines have none, so the imide, diacetamide, is the most acidic (imides have pKa about 8-10 against about 15-17 for simple amides and above 30 for amines).