打卡记录 T 秒后青蛙的位置(DFS)
链接
class Solution:def frogPosition(self, n: int, edges: List[List[int]], t: int, target: int) -> float:g [[] for _ in range(n 1)]for x, y in edges:g[x].append(y)g[y].append(x)g[1].append(0)ans …
运行至第一句涉及矩阵运算的代码(如cv::multiply)时报错
HEAP CORRUPTION DETECTED: after Normal block (#45034) at 0x000001BDC586F0E0.
CRT detected that the application wrote to memory after end of heap buffer.release下不会报错࿰…