You are viewing a single comment's thread. Return to all comments →
Yeah, it needs some polish. :) In C# it would be:
var pointsAlice = ((a0>b0)?1:0)+ ((a1>b1)?1:0)+ ((a2>b2)?1:0); var pointsBob = ((a0<b0)?1:0)+ ((a1<b1)?1:0)+ ((a2<b2)?1:0); Console.WriteLine(pointsAlice+" " +pointsBob);
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
Yeah, it needs some polish. :) In C# it would be: