using System.Security.Cryptography;
static int diffTotal = 0;
static int diffTotalTotal = 0;
static Random rnd = new Random();
public static void Main(string[] args){
var inicio = GenerarHora(0)/1000/60;
var pausa = GenerarHora(0)/1000/60;
var reanudar = GenerarHora(0)/1000/60;
var salida = GenerarHora(0)/1000/60;
Console.WriteLine($"{inicio}/{pausa}/{reanudar}/{salida} Diferencial total {inicio+pausa+reanudar+salida}");
diffTotal += (int)(inicio+pausa+reanudar+salida);
Console.WriteLine($"Acumulado total: {diffTotal}");
diffTotalTotal += diffTotal;
Console.WriteLine($"Acumulado total total: {diffTotalTotal}");
public static long GenerarHora(long original)
diff += rnd.Next(acum, 11) * 60 * 1000;
diff += rnd.Next(-10, acum) * 60 * 1000;
if ((diff >= 0 && acum >= 0) || (diff <= 0 && acum <=0))