79962024-01-12 09:54:38TortelliniJrTom és Jerry 1 (80)csharpRuntime error 0/8024ms22764 KiB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace fui
{
    class Program
    {
        static void Main(string[] args)
        {
            Random nrg = new Random();
            List<List<int>> e = new List<List<int>>();
            int f = 0;
            while (true)
            {
                e.Add(new List<int>());
                for (int i = 0; i < 1000; i++)
                {
                    e[f].Add(nrg.Next(0, int.MaxValue));
                }
                f++;
                float rate = GC.GetTotalMemory(false) / f;
                //Console.WriteLine(f + " items, " + (int)(GC.GetTotalMemory(false)/1000000) + "mb memory used. " + rate + " byte/item");
            }
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/80
1Runtime error0/024ms17736 KiB
2Runtime error0/024ms18252 KiB
3Runtime error0/424ms18532 KiB
4Runtime error0/423ms18764 KiB
5Runtime error0/424ms18908 KiB
6Runtime error0/423ms18532 KiB
7Runtime error0/423ms18940 KiB
8Runtime error0/423ms18872 KiB
9Runtime error0/424ms19824 KiB
10Runtime error0/423ms20460 KiB
11Runtime error0/424ms20552 KiB
12Runtime error0/424ms20780 KiB
13Runtime error0/423ms21092 KiB
14Runtime error0/424ms21160 KiB
15Runtime error0/423ms21436 KiB
16Runtime error0/421ms21708 KiB
17Runtime error0/424ms21692 KiB
18Runtime error0/424ms21820 KiB
19Runtime error0/423ms21692 KiB
20Runtime error0/421ms22144 KiB
21Runtime error0/421ms22756 KiB
22Runtime error0/421ms22764 KiB