摘要:
static void reverseStr(char *s, unsigned int len) { int low = 0; int high = len - 1; for (unsigned int idx = 0; idx < len / 2; ++idx) { s[idx] = s[idx 阅读全文
摘要:
/* Host and service name lookups using Name Service Switch modules. Copyright (C) 1996-2022 Free Software Foundation, Inc. This file is part of the GN 阅读全文
摘要:
function IsSuffix() { filename=$1 fileSuffix=${filename##*.} if [ ${fileSuffix} != "zip" ]; then echo -e "\033[36mSecond parameter error, must be xxx. 阅读全文
摘要:
#include <stdio.h> //数组中只有一个数字出现奇数次,找到它//方法是直接异或数组全部成员int FindOnlyOneNumOddTimes(const int *arr, unsigned int size){ int res = 0; for (unsigned int co 阅读全文