Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as C# by Edelner ( 4 years ago )
using System;
using System.Diagnostics;

namespace AlgorytmyIStrukturyDanych.Lab1
{
    class Program
    {
        static void Main(string[] args)
        {
            LosowaTablica losowaTablica = new LosowaTablica();

            int liczbaElementówTablicy = losowaTablica.PobierzLiczbęElementówTablicy();


            MierzenieCzasu mierzenieCzasu = new MierzenieCzasu();

            int liczbaPrób = mierzenieCzasu.PobierzLiczbęPrób();           

            mierzenieCzasu.ZmierzCzasz(liczbaElementówTablicy, liczbaPrób);


            double średniCzas = mierzenieCzasu.PoliczSredniCzas();

            double odchylenieStandardowe = mierzenieCzasu.PoliczOdchylenieStandardowe(średniCzas);

            mierzenieCzasu.PoliczBłądWzględny(odchylenieStandardowe, średniCzas);

            mierzenieCzasu.ZapiszWynikiDoPliku();

            Console.ReadKey();          
        }
    }
}

 

Revise this Paste

Your Name: Code Language: