bug记录
文章平均质量分 59
Corux
开卷有益
展开
-
剪绳子bug
题目:剑指 Offer 14- II. 剪绳子 II - 力扣(LeetCode) (leetcode-cn.com)bug答案:class Solution { int N = 1000000007;public: int cuttingRope(int n) { if (n == 2) return 1; //处理两个特殊情况 else if (n == 3) return 2; int x = n / 3,.原创 2022-04-28 15:54:08 · 177 阅读 · 0 评论 -
AddressSanitizer: DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL===================================================================43==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000002a6a84 bp 0x000000000000 sp 0x7ffdc0f24c80 T0)==43==The signal is caused by a READ memory ac原创 2022-01-20 19:14:29 · 1718 阅读 · 0 评论