Commit 1f941650 authored by 唐柳's avatar 唐柳

Update Program.cs

parent cb67e02d
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
......@@ -51,7 +50,7 @@ namespace Lottery
//其他方式:可在下方对NewGrade属性进行操作
persons[j].NewGrade += (randoms[j] +
(Math.Abs(persons[j].GetHashCode() << 1) % persons.Count) +
persons[randoms[j] - 1].OldGrade);
persons[randoms[j] - 1].NewGrade);
if (i == 3 && persons[j].BaseGrade > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment