摘要: 答案:KFC 解析: ①一二条能确定一定不含A,可能的字母有BCEF②看第三条,根据第一条结果,不含A,那正确的肯定有CK,然后再回过头看第一条,能确定第三个是C③再看第三条,CK位置都不对,且已确定第三个是C,K现在在第二个位置且是不多的,那K就只能是第一个,那就是K_C④再看第二条,EF有一个是 阅读全文
posted @ 2025-06-26 17:36 冥天笑 阅读(10) 评论(0) 推荐(0)
摘要: 1 int to_int(std::string& strInput) 2 { 3 int nReturn = 0; 4 std::stringstream ss; 5 ss << strInput; 6 ss >> nReturn; 7 return nReturn; 8 } 9 int getN 阅读全文
posted @ 2025-06-17 15:27 冥天笑 阅读(11) 评论(0) 推荐(0)
摘要: 1 #include <QtWidgets/QApplication> 2 #include <QSharedMemory> 3 #include <QMessageBox> 4 5 int AssumeSingleInstance(const QString &key) 6 { 7 static 阅读全文
posted @ 2024-03-22 09:05 冥天笑 阅读(452) 评论(0) 推荐(0)
摘要: 1 void QwatchDogService::OnTimeoutLable() 2 { 3 QDateTime current_date_time = QDateTime::currentDateTime(); 4 QString current_date = current_date_time 阅读全文
posted @ 2024-03-06 16:35 冥天笑 阅读(242) 评论(0) 推荐(0)
摘要: 1、List<Double> 1 List<Double> dMoneyList = objList.stream().map(e->e.getDTotalMoney()/*复杂List中包含的double数值*/).collect(Collectors.toList()); 2 Double to 阅读全文
posted @ 2023-12-11 10:32 冥天笑 阅读(831) 评论(0) 推荐(0)
摘要: 1、示例xml文件 1 <?xml version="1.0" encoding="utf-8"?> 2 <soap:Envelope 3 xmlns:xsi="http://ww.w3.org/2001/XMLSchema-instance" 4 xmlns:xsd="http://www.w3. 阅读全文
posted @ 2023-11-08 10:59 冥天笑 阅读(626) 评论(0) 推荐(0)
摘要: #include <windows.h> #include <iostream> int main() { int nScreenIndex = 0; bool bIsLocked = false; //获取系统指标,判断当前屏幕是否处于锁屏状态 if (GetSystemMetrics(nScre 阅读全文
posted @ 2023-09-15 14:48 冥天笑 阅读(290) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-08-31 09:32 冥天笑 阅读(0) 评论(0) 推荐(0)
摘要: 一、valgrind安装 在线安装 红帽系:yum install valgrind 得班系:apt-get install valgrind 离线安装 valgrind下载: http://valgrind.org/downloads/valgrind-3.12.0.tar.bz2 valgrin 阅读全文
posted @ 2023-05-31 10:35 冥天笑 阅读(210) 评论(0) 推荐(0)
摘要: 杀死僵尸进程,方法三比较好用,推荐使用 1、查看所有的僵尸进程 ps -A -ostat,pid,ppid | grep -e '[zZ]' 例:Z 110 101 这列出了僵尸进程STAT列,进程ID、父进程ID 2、杀死所有僵尸进程 方法一:通过向父进程发送信号方式杀死,这种方法适用用父进程可以 阅读全文
posted @ 2023-05-12 09:23 冥天笑 阅读(3491) 评论(0) 推荐(0)