CodePudding user response:
Int vote (int a, b int, int, c int d, int e){
Return (a & amp; & B & amp; & C) | | (a & amp; & B & amp; & D) | |
(a & amp; & B & amp; & E) | | (a & amp; & C & amp; & D) | |
(a & amp; & C & amp; & E) | | (a & amp; & D & amp; & E) | |
(b & amp; & C & amp; & D) | | (b & amp; & C & amp; & E) | |
(b & amp; & D & amp; & E) | | (c & amp; & D & amp; & E);
}