跳到内容
当前位置:首页>考研真题>网络安全技术练习题大全(26)

网络安全技术练习题大全(26)

  • 2026-11-04 19:55:37
网络安全技术练习题大全(26)

题目51:搜索插入位置

问题描述:给定一个排序数组和一个目标值,在数组中找到目标值,并返回其索引。如果目标值不存在于数组中,返回它将会被按顺序插入的位置。请必须使用时间复杂度为 O(log n) 的算法。

示例:

  • • 输入:nums = [1,3,5,6], target = 5,输出:2
  • • 输入:nums = [1,3,5,6], target = 2,输出:1
  • • 输入:nums = [1,3,5,6], target = 7,输出:4
  • • 输入:nums = [1,3,5,6], target = 0,输出:0

解题思路:使用二分查找。维护左右指针 left 和 right,当 left <= right 时,计算中间位置 mid。如果 nums[mid] == target,直接返回 mid;如果 nums[mid] < target,说明目标在右侧,令 left = mid + 1;否则目标在左侧,令 right = mid - 1。循环结束时,left 即为目标应插入的位置。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13

def searchInsert(nums, target):    left, right = 0, len(nums) - 1    while left <= right:        mid = (left + right) // 2        if nums[mid] == target:            return mid        elif nums[mid] < target:            left = mid + 1        else:            right = mid - 1    return left


题目52:数组的相对排序

问题描述:给你两个数组,arr1 和 arr2,arr2 中的元素各不相同,arr2 中的每个元素都出现在 arr1 中。对 arr1 中的元素进行排序,使 arr1 中项的相对顺序和 arr2 中的相对顺序相同。未在 arr2 中出现过的元素需要按升序放在 arr1 的末尾。

示例:

  • • 输入:arr1 = [2,3,1,3,2,4,6,7,9,2,19], arr2 = [2,1,4,3,9,6]
  • • 输出:[2,2,2,1,4,3,3,9,6,7,19]

解题思路:使用计数排序。由于元素范围有限(0 <= arr1[i] <= 1000),可以创建一个长度为 1001 的计数数组。先统计 arr1 中每个元素的出现次数。然后按照 arr2 的顺序,将对应元素按出现次数加入结果数组。最后遍历计数数组,将剩余未在 arr2 中出现的元素按升序加入结果。时间复杂度 O(n + m + k),空间复杂度 O(k)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

def relativeSortArray(arr1, arr2):    count = [0] * 1001    for num in arr1:        count[num] += 1    result = []    for num in arr2:        result.extend([num] * count[num])        count[num] = 0    for num in range(1001):        if count[num] > 0:            result.extend([num] * count[num])    return result


题目53:删除最外层的括号

问题描述:有效括号字符串为空 ""、"(" + A + ")" 或 A + B,其中 A 和 B 都是有效的括号字符串,+ 代表字符串的连接。例如,""、"()"、"(())()" 和 "(()(()))" 都是有效的括号字符串。如果有效字符串 s 非空,且不存在将其拆分为 s = A + B 的方法,我们称其为原语,其中 A 和 B 都是非空有效括号字符串。给出一个非空有效字符串 s,考虑将其进行原语化分解,使得:s = P1 + P2 + ... + Pk,其中 Pi 是有效括号字符串原语。对 s 进行原语化分解,删除分解中每个原语字符串的最外层括号,返回 s。

示例:

  • • 输入:s = "(()())(())",输出:"()()()"
  • • 解释:输入字符串为 "(()())(())",原语化分解得到 "(()())" + "(())",删除每个部分的最外层括号后得到 "()()" + "()" = "()()()"。
  • • 输入:s = "(()())(())(()(()))",输出:"()()()()(())"

解题思路:使用一个计数器 balance 记录当前括号的嵌套深度。遍历字符串,遇到 '(' 时 balance += 1,如果 balance > 1,说明不是最外层括号,将其加入结果。遇到 ')' 时,如果 balance > 1,说明不是最外层括号,将其加入结果,然后 balance -= 1。时间复杂度 O(n),空间复杂度 O(n)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

def removeOuterParentheses(s):    result = []    balance = 0    for char in s:        if char == '(':            if balance > 0:                result.append(char)            balance += 1        else:            balance -= 1            if balance > 0:                result.append(char)    return ''.join(result)


题目54:整数的各位积和之差

问题描述:给你一个整数 n,请你帮忙计算并返回该整数「各位数字之积」与「各位数字之和」的差。

示例:

  • • 输入:n = 234,输出:15
  • • 解释:
    • • 各位数之积 = 2 * 3 * 4 = 24
    • • 各位数之和 = 2 + 3 + 4 = 9
    • • 结果 = 24 - 9 = 15
  • • 输入:n = 4421,输出:21
  • • 解释:
    • • 各位数之积 = 4 * 4 * 2 * 1 = 32
    • • 各位数之和 = 4 + 4 + 2 + 1 = 11
    • • 结果 = 32 - 11 = 21

解题思路:不断取 n 的末位数字,分别累加到乘积和和中,然后 n //= 10。最后返回乘积减去和。时间复杂度 O(log n),空间复杂度 O(1)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11

def subtractProductAndSum(n):    product = 1    total = 0    while n > 0:        digit = n % 10        product *= digit        total += digit        n //= 10    return product - total


题目55:统计位数为偶数的数字

问题描述:给你一个整数数组 nums,请你返回其中位数为偶数的数字的个数。

示例:

  • • 输入:nums = [12,345,2,6,7896],输出:2
  • • 解释:
    • • 12 是 2 位数字(位数为偶数)
    • • 345 是 3 位数字(位数为奇数)
    • • 2 是 1 位数字(位数为奇数)
    • • 6 是 1 位数字(位数为奇数)
    • • 7896 是 4 位数字(位数为偶数)因此只有 12 和 7896 是位数为偶数的数字。
  • • 输入:nums = [555,901,482,1771],输出:1
  • • 解释:只有 1771 是 4 位数字。

解题思路:遍历数组,对于每个数字,将其转换为字符串并检查长度是否为偶数,或者通过不断除以 10 计算位数。统计满足条件的数字个数。时间复杂度 O(n * log m),空间复杂度 O(1)。

Python代码示例:

1
2
3
4
5
6
7
8

def findNumbers(nums):    count = 0    for num in nums:        if len(str(num)) % 2 == 0:            count += 1    return count

题目56:有效的山脉数组

问题描述:给定一个整数数组 arr,如果它是有效的山脉数组就返回 true,否则返回 false。有效的山脉数组满足:

  • • arr.length >= 3
  • • 存在下标 i(0 < i < arr.length - 1),使得:
    • • arr[0] < arr[1] < ... < arr[i-1] < arr[i]
    • • arr[i] > arr[i+1] > ... > arr[arr.length - 1]

示例:

  • • 输入:arr = [2,1],输出:false
  • • 输入:arr = [3,5,5],输出:false
  • • 输入:arr = [0,3,2,1],输出:true

解题思路:使用双指针。左指针从数组开头向右移动,直到不再严格递增;右指针从数组末尾向左移动,直到不再严格递减。如果两个指针相遇于同一个位置,且该位置不是数组的第一个或最后一个元素,则说明存在唯一的峰值,返回 True;否则返回 False。时间复杂度 O(n),空间复杂度 O(1)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14

def validMountainArray(arr):    n = len(arr)    if n < 3:        return False    left = 0    while left + 1 < n and arr[left] < arr[left + 1]:        left += 1    right = n - 1    while right - 1 >= 0 and arr[right - 1] > arr[right]:        right -= 1    return left == right and left != 0 and right != n - 1


题目57:按奇偶排序数组

问题描述:给定一个非负整数数组 nums,返回一个数组,在该数组中,nums 的所有偶数元素之后跟着所有奇数元素。你可以返回任何满足此条件的数组作为答案。

示例:

  • • 输入:nums = [3,1,2,4]
  • • 输出:[2,4,3,1](也接受 [4,2,1,3]、[2,4,1,3] 等)

解题思路:使用双指针。左指针 left 从左向右寻找奇数,右指针 right 从右向左寻找偶数。当 left < right 时,交换两个位置的元素,然后继续移动指针。最终所有偶数都在左侧,奇数都在右侧。时间复杂度 O(n),空间复杂度 O(1)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

def sortArrayByParity(nums):    left, right = 0, len(nums) - 1    while left < right:        while left < right and nums[left] % 2 == 0:            left += 1        while left < right and nums[right] % 2 == 1:            right -= 1        if left < right:            nums[left], nums[right] = nums[right], nums[left]            left += 1            right -= 1    return nums


题目58:最小绝对差

问题描述:给你一个整数数组 arr,其中每个元素都不相同。请你找到所有具有最小绝对差的元素对,并且按升序的顺序返回。

示例:

  • • 输入:arr = [4,2,1,3]
  • • 输出:[[1,2],[2,3],[3,4]]
  • • 输入:arr = [1,3,6,10,15]
  • • 输出:[[1,3]]

解题思路:先将数组排序。最小绝对差一定出现在相邻元素之间。遍历排序后的数组,计算相邻元素的差值,记录最小差值 min_diff。再次遍历,将所有差值为 min_diff 的元素对加入结果列表。时间复杂度 O(n log n),空间复杂度 O(1)(不考虑结果存储)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14

def minimumAbsDifference(arr):    arr.sort()    min_diff = float('inf')    result = []    for i in range(1, len(arr)):        diff = arr[i] - arr[i - 1]        if diff < min_diff:            min_diff = diff            result = [[arr[i - 1], arr[i]]]        elif diff == min_diff:            result.append([arr[i - 1], arr[i]])    return result


题目59:自除数

问题描述:自除数 是指可以被它包含的每一位数整除的数。例如,128 是一个自除数,因为 128 % 1 == 0,128 % 2 == 0,128 % 8 == 0。自除数不允许包含 0。给定上边界 left 和下边界 right,返回一个列表,列表的元素是边界(含边界)内所有的自除数。

示例:

  • • 输入:left = 1, right = 22
  • • 输出:[1,2,3,4,5,6,7,8,9,11,12,15,22]

解题思路:遍历区间 [left, right] 中的每个数。对于每个数,提取其每一位数字,如果存在 0 或者该数不能被某位数字整除,则不是自除数。否则将其加入结果列表。时间复杂度 O(n * log m),空间复杂度 O(1)(不考虑结果存储)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

def selfDividingNumbers(left, right):    result = []    for num in range(left, right + 1):        temp = num        valid = True        while temp > 0:            digit = temp % 10            if digit == 0 or num % digit != 0:                valid = False                break            temp //= 10        if valid:            result.append(num)    return result


题目60:将数组分成和相等的三个部分

问题描述:给你一个整数数组 arr,只有可以将其划分为三个和相等的非空部分时才返回 true,否则返回 false。形式上,如果可以找出索引 i + 1 < j 且满足:

1
2
3

arr[0] + arr[1] + ... + arr[i] ==arr[i+1] + arr[i+2] + ... + arr[j] ==arr[j+1] + arr[j+2] + ... + arr[arr.length - 1]

就可以将数组三等分。

示例:

  • • 输入:arr = [0,2,1,-6,6,-7,9,1,2,0,1],输出:true
  • • 解释:0 + 2 + 1 = 3,-6 + 6 - 7 + 9 + 1 = 3,2 + 0 + 1 = 3
  • • 输入:arr = [0,2,1,-6,6,7,9,-1,2,0,1],输出:false
  • • 输入:arr = [3,3,6,5,-2,2,5,1,-9,4],输出:true

解题思路:首先计算数组总和 total,如果 total % 3 != 0,直接返回 False。目标每部分的和为 target = total // 3。使用一次遍历,累加当前和 current_sum,每当 current_sum == target 时,计数器 count 加一,并将 current_sum 重置为 0。当 count == 2 时,说明已经找到了前两部分,剩余部分自然等于 target(因为总和是 3 的倍数),返回 True。注意:需要在找到两部分后确保剩余部分非空,但题目要求三个非空部分,遍历时只要 count == 2 且当前索引不是最后一个元素即可。时间复杂度 O(n),空间复杂度 O(1)。

Python代码示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

def canThreePartsEqualSum(arr):    total = sum(arr)    if total % 3 != 0:        return False    target = total // 3    count = 0    current_sum = 0    for i in range(len(arr) - 1):        current_sum += arr[i]        if current_sum == target:            count += 1            current_sum = 0            if count == 2:                return True    return False

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-11-04 20:27:28 HTTP/1.1 GET : http://www.sjds.net/a/537012.html
  2. 运行时间 : 0.093904s [ 吞吐率:10.65req/s ] 内存消耗:4,306.66kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=d5c9fde85685d6be5f5f8ba05e24d49e
  1. /www/wwwroot/www.sjds.net/public/index.php ( 0.79 KB )
  2. /www/wwwroot/www.sjds.net/vendor/autoload.php ( 0.17 KB )
  3. /www/wwwroot/www.sjds.net/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /www/wwwroot/www.sjds.net/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/www.sjds.net/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /www/wwwroot/www.sjds.net/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/www.sjds.net/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/www.sjds.net/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/www.sjds.net/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/www.sjds.net/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/www.sjds.net/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/www.sjds.net/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /www/wwwroot/www.sjds.net/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /www/wwwroot/www.sjds.net/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /www/wwwroot/www.sjds.net/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /www/wwwroot/www.sjds.net/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /www/wwwroot/www.sjds.net/app/provider.php ( 0.19 KB )
  23. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /www/wwwroot/www.sjds.net/app/common.php ( 0.03 KB )
  27. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /www/wwwroot/www.sjds.net/config/app.php ( 0.95 KB )
  30. /www/wwwroot/www.sjds.net/config/cache.php ( 0.78 KB )
  31. /www/wwwroot/www.sjds.net/config/console.php ( 0.23 KB )
  32. /www/wwwroot/www.sjds.net/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/www.sjds.net/config/database.php ( 2.48 KB )
  34. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/www.sjds.net/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/www.sjds.net/config/lang.php ( 0.91 KB )
  37. /www/wwwroot/www.sjds.net/config/log.php ( 1.35 KB )
  38. /www/wwwroot/www.sjds.net/config/middleware.php ( 0.19 KB )
  39. /www/wwwroot/www.sjds.net/config/route.php ( 1.89 KB )
  40. /www/wwwroot/www.sjds.net/config/session.php ( 0.57 KB )
  41. /www/wwwroot/www.sjds.net/config/trace.php ( 0.34 KB )
  42. /www/wwwroot/www.sjds.net/config/view.php ( 0.82 KB )
  43. /www/wwwroot/www.sjds.net/app/event.php ( 0.25 KB )
  44. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /www/wwwroot/www.sjds.net/app/service.php ( 0.13 KB )
  46. /www/wwwroot/www.sjds.net/app/AppService.php ( 0.26 KB )
  47. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /www/wwwroot/www.sjds.net/vendor/services.php ( 0.14 KB )
  53. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /www/wwwroot/www.sjds.net/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /www/wwwroot/www.sjds.net/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /www/wwwroot/www.sjds.net/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /www/wwwroot/www.sjds.net/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /www/wwwroot/www.sjds.net/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /www/wwwroot/www.sjds.net/app/Request.php ( 0.09 KB )
  84. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /www/wwwroot/www.sjds.net/app/middleware.php ( 0.25 KB )
  86. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /www/wwwroot/www.sjds.net/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /www/wwwroot/www.sjds.net/route/app.php ( 1.72 KB )
  100. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /www/wwwroot/www.sjds.net/app/controller/Index.php ( 4.81 KB )
  104. /www/wwwroot/www.sjds.net/app/BaseController.php ( 2.05 KB )
  105. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /www/wwwroot/www.sjds.net/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /www/wwwroot/www.sjds.net/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /www/wwwroot/www.sjds.net/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /www/wwwroot/www.sjds.net/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /www/wwwroot/www.sjds.net/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /www/wwwroot/www.sjds.net/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /www/wwwroot/www.sjds.net/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /www/wwwroot/www.sjds.net/runtime/temp/022a5b1eae5a9e3c31e54f699d8ae600.php ( 8.36 KB )
  140. /www/wwwroot/www.sjds.net/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000588s ] mysql:host=172.18.0.4;port=3306;dbname=www_sjds;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000623s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000324s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000339s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000503s ]
  6. SELECT * FROM `set` [ RunTime:0.000270s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000571s ]
  8. SELECT * FROM `article` WHERE `id` = 537012 LIMIT 1 [ RunTime:0.000454s ]
  9. UPDATE `article` SET `lasttime` = 1793795248 WHERE `id` = 537012 [ RunTime:0.001589s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 65 LIMIT 1 [ RunTime:0.000298s ]
  11. SELECT * FROM `article` WHERE `id` < 537012 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000396s ]
  12. SELECT * FROM `article` WHERE `id` > 537012 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000379s ]
  13. SELECT * FROM `article` WHERE `id` < 537012 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000485s ]
  14. SELECT * FROM `article` WHERE `id` < 537012 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000509s ]
  15. SELECT * FROM `article` WHERE `id` < 537012 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000507s ]
0.105211s