椰程智库 本次搜索耗时 0.034 秒,为您找到 227 个相关结果.
  • 第三节

    给定两个数组,找出b数组中包含的数 [USACO05FEB] 进击的奶牛 Aggressive Cows G 方阵填数 深搜基础框架 #include < bits / stdc ++. h > using namespace std ; const int SIZE = 100 ; int n , i , j , ...
  • 第二节

    #include < bits / stdc ++. h > using namespace std ; void getnext ( char str []){ int l = strlen ( str ), i , j , k , temp (); k = l - 2 ; while ...
  • 第五节

    搜索算法 搜索算法 #include < bits / stdc ++. h > using namespace std ; const int SIZE = 105 ; int arr [ SIZE ] = { 0 , 11 , 22 , 33 , 44 , 55 , 66 , 77 , 88 , 99 };...
  • 第六课

    链表 数据结构+算法 数据结构 数组 array 链表 linked list 链表 数据结构+算法 数据结构 存储、组织数据的方式 数组 array 顺序存储,需要用到连续的内存空间 链表 linked list 随机存储,有效利用零散的碎片空间 无论数组还是链表,都是数据结构的物理结构 数据结构中还有逻辑结构 逻...
  • 完善程序

    #include < bits / stdc ++. h > using namespace std ; const int SIZE = 100 ; int matrix [ SIZE + 1 ][ SIZE + 1 ]; int rowsum [ SIZE + 1 ][ SIZE + 1 ]; int m , n ...
  • 第一章 模拟

    96 2025-10-04 《CSP专题2025》
    第一章 模拟 1.概念 2.常见题型 3.例题 【GESP202403四级T1】相似字符串 4.作业 【NOIPS2015A】神奇的幻方 第一章 模拟 1.概念 模拟就是用计算机来模拟题目中要求的操作 。 建模 就是把事物进行抽象,根据实际问题来建立对应的数:学模型。 如果把实际问题建模 成数学问题,就会大大地方便...
  • CSP题解

    65 2025-10-25 《C++CSP题解》
    素数回文数的个数[T1408] 素数回文数的个数[T1408] #include < bits / stdc ++. h > using namespace std ; bool is_ss ( int n ){ if ( n < 2 ){ return false ; }...