上一页 1 ··· 217 218 219 220 221 222 223 224 225 ··· 345 下一页
摘要: 给你 n 个非负整数 a1,a2,…,an,每个数代表坐标中的一个点 (i, ai) 。在坐标内画 n 条垂直线,垂直线 i 的两个... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(18) 评论(0) 推荐(0)
摘要: class Solution(object): def myAtoi(self, x): """ ... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(25) 评论(0) 推荐(0)
摘要: class Solution(object): def myAtoi(self, x): """ ... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(8) 评论(0) 推荐(0)
摘要: 给定一个只包括 ‘(’,’)’,’{’,’}’,’[’,’]’ 的字符串 s ,判断字符串是否有效。 有效字符串需满足: 左括号必须... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(41) 评论(0) 推荐(0)
摘要: 给定一个只包括 ‘(’,’)’,’{’,’}’,’[’,’]’ 的字符串 s ,判断字符串是否有效。 有效字符串需满足: 左括号必须... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(18) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jul 17 17:23:50 2021@auth... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(16) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jul 17 17:23:50 2021@auth... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(74) 评论(0) 推荐(0)
摘要: 这是一种最容易想到的方法 import numpy as np#a=np.random.randint(100,size=10)a=... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(22) 评论(0) 推荐(0)
摘要: 这是一种最容易想到的方法 import numpy as np#a=np.random.randint(100,size=10)a=... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(17) 评论(0) 推荐(0)
摘要: def cm(s): s1=list(zip(*s)) cc='' for k in s1: ... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(9) 评论(0) 推荐(0)
上一页 1 ··· 217 218 219 220 221 222 223 224 225 ··· 345 下一页