diff --git a/README.md b/README.md index 6376748..e8a720c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# python +python + class Solution + def闯关游戏(self,nums): + nums.sort() + n=len(nums) + for i in range(n): + if nums[i]==i; + return i + return -1