Exemple #1
0
        static void Main(string[] args)
        {
            string aname = Console.ReadLine();
            double atime = double.Parse(Console.ReadLine());

            BoredApi.Save(new Core.Model.BoredModel
            {
                name = aname,
                time = atime
            });
            BoredApi.QueryRank();
            BoredApi.GetRank(1);
            Console.WriteLine(aname + ":" + atime);
        }
Exemple #2
0
 private int Query(double time)
 {
     return(BoredApi.GetRank(time));
 }