摘要:
博客园的编辑推荐了《一个轻量级C++内存监控及可视化开源库》,下载试了试。 (一)作者忘记#include <array>,编译通不过。 (二)手动插桩 (instrument) 防不了段错误: /home/user/fastgrind-main/demo/manual_instrument/sim 阅读全文
posted @ 2025-10-31 22:58
华容道专家
阅读(23)
评论(0)
推荐(1)
摘要:
从6个数中取3个,有C(6,3)=6×5×4÷3!种情况。组合把123、132、231、213、312、321看作一种情况。 我们规定取数时,“后来者必须居上”,上述6个中就只有123一种合法。 我们可以sort后放进集合,但像冒泡排序那样的方法不仅更简单,而且更描述了取法:j从i+1开始,k从j+ 阅读全文
posted @ 2025-10-31 19:25
华容道专家
阅读(6)
评论(0)
推荐(0)
摘要:
const char* s = "ecllipse"; int m = strlen(s); const char *t = "ellipsis"; int n = strlen(t); int d[64][64]; int pt = 50; void my_pause(int n = pt) { 阅读全文
posted @ 2025-10-31 14:55
华容道专家
阅读(1)
评论(0)
推荐(0)
摘要:
$ time a.out ellip--ellipseeclipse ellipsisallied cellist ecliptic elapse elicit elide elite elixir enlist enliven hellish illicit jellied lipid lippy 阅读全文
posted @ 2025-10-31 13:47
华容道专家
阅读(1)
评论(0)
推荐(0)
摘要:
~/.config/fcitx/conf/fcitx-classic-ui.config 改最后面的SkinType=dark skin/下每个目录一个皮肤,我这里:dark material mint-dark. 内置的:/usr/share/fcitx/skin fcitx-ui-light是一 阅读全文
posted @ 2025-10-31 08:39
华容道专家
阅读(25)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <sunpinyin.h> class WinHandler : public CIMIWinHandler { void enableDeferedUpdate(CIMIView* view, int waitTime) {} void di 阅读全文
posted @ 2025-10-31 00:27
华容道专家
阅读(3)
评论(0)
推荐(0)

浙公网安备 33010602011771号