Three-dimensional hydrogen-bonded assembly in 2,2'-disulfanylidene-5,5'-biimidazolidinylidene-4,4'-dione-dimethylformamide-water (3/2/4).