椰程智库 本次搜索耗时 0.076 秒,为您找到 98 个相关结果.
  • 通用函数

    347 2025-10-25 《csp专题2025》
    #include < bits / stdc ++. h > using namespace std ; // 求素数(质数) bool is_prime ( int n ){ if ( n < 2 ) return false ; // 1000*1000 = 100000000; ...
  • 第三节

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

    数组的定义与使用 数组的定义与使用
  • 其他

    P61,第九题 P61,第九题 #include < bits / stdc ++. h > using namespace std ; int main (){ int n ; string s ; cin >> n ; cin >> s [ 1 ] >> s [ 2 ...
  • 第五节

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

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

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

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