摘要:
Public Bike Management (30) Link 卡了半天原来是看漏了这句话:If there are more than one shortest path, the one that requires the least number of bikes sent from PBM 阅读全文
摘要:
有一个已经按升序排好序的数组,求某个数在数组中出现的下标区间。即,若这个数在数组中出现一次或多次,就给出这个范围。 #include <iostream> using namespace std; const int maxn = 100005; int n, q, x, a[maxn]; int 阅读全文
摘要:
WLAN (Wireless Local Area Networks) 无线局域网络,是一种数据传输系统。它利用射频技术进行数据传输。目前WLAN通用的标准IEEE是802.11系列标准,使用的是5GHz频段和2.4GHz,在IEEE 802.11a时使用5GHz频段下支持的最大速度为54Mbps, 阅读全文
摘要:
Link class Solution { func findDiagonalOrder(_ mat: [[Int]]) -> [Int] { var ans: [Int] = [] let (m, n) = (mat.count, mat[0].count) let maxv = m + n - 阅读全文