.NET Fiddle

CSharp · Console

/Program.cs

using System;
using System.Collections.Generic;
using System.Linq;
					
public class Program
{
	public static void Main()
	{
		var a = new List<int>() { 1, 4, 4, 4, 4, 4 };
		var b = new List<int>() { 3, 3, 3, 3, 5, 7 };
		var c = new List<int>() { 2, 2, 2, 6, 6, 6 };
		
		Func<List<int>, List<int>, double> fight = (ą, ę) => (double)ą.SelectMany(x => ę, (x, y) => x > y).Count(x => x) / 36;
		
		Console.WriteLine(fight(a, b));
		Console.WriteLine(fight(b, c));
		Console.WriteLine(fight(c, a));
	}
}
;