the problem is that you have two different molecules that are reduced. so it does not quite work like above. not even an equation system works.
But this problem can be easily overcome. Join fulminate and carbon dioxide together in one artificial molecule in any ratio except 1:0 or 0:1 (from a suggested mechanism of fulminate synthesis this ratio is Hg(ONC)
2+2CO
2 (more CO2 can be treated as an oxidation of an ethanol in a concentrate nitric acid). In this artificial molecule HgC
4N
2O
6 force ONs: 0(null) for Hg and +5 for N.
Then ON for C will be +1/2, and only the same two elements (C and N) change ONs on both sides of equation.