摘要:
二分查找 整数二分 先决条件:数据一定有序 下面是模版,只需要记住,然后套用即可 // 查找左边界 SearchLeft 简写SL int SL(int l, int r) { while (l < r) { int mid = (l + r) >> 1; if (check(mid)) r = m 阅读全文
摘要:
新用户使用sudo命令报错 情景: 使用adduser image,创建新用户image 使用su image,切换到新用户 使用sudo命令,出现报错 image is not in the sudoers file. This incident will be reported. 解决方案: 切 阅读全文