分类
发现
标签
搜索
注册
登录
分类
发现
榜单
搜索
注册
登录
搜索
椰程智库
本次搜索耗时
0.096
秒,为您找到
59
个相关结果.
搜书籍
搜文档
第三节
388
2025-08-15
《2025暑假csp笔试笔记——下午15:30~17:30》
字符串中第一个仅出现一次的字母 一、模拟策略 二、字符处理 三、枚举 判断回文 字符串中第一个仅出现一次的字母 #include < bits / stdc ++. h > using namespace std ; int main (){ int t [ 256 ]; string s ; ...
通用函数
388
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; ...
阅读程序
369
2025-08-11
《2025暑假csp笔试笔记》
#include < bits / stdc ++. h > using namespace std ; const int maxn = 50 ; void getnext ( char str []){ int l = strlen ( str ), i , j , k , temp ; k =...
其他
362
2025-07-15
《2025暑假csp笔试笔记——下午15:30~17:30》
P61,第九题 P61,第九题 #include < bits / stdc ++. h > using namespace std ; int main (){ int n ; string s ; cin >> n ; cin >> s [ 1 ] >> s [ 2 ...
第五节
351
2025-08-21
《2025暑假csp笔试笔记——下午15:30~17:30》
搜索算法 搜索算法 #include < bits / stdc ++. h > using namespace std ; const int SIZE = 105 ; int arr [ SIZE ] = { 0 , 11 , 22 , 33 , 44 , 55 , 66 , 77 , 88 , 99 };...
第二节
333
2025-08-12
《2025暑假csp笔试笔记——下午15:30~17:30》
#include < bits / stdc ++. h > using namespace std ; void getnext ( char str []){ int l = strlen ( str ), i , j , k , temp (); k = l - 2 ; while ...
第一章 模拟
314
2025-10-04
《CSP专题2025》
第一章 模拟 1.概念 2.常见题型 3.例题 【GESP202403四级T1】相似字符串 4.作业 【NOIPS2015A】神奇的幻方 第一章 模拟 1.概念 模拟就是用计算机来模拟题目中要求的操作 。 建模 就是把事物进行抽象,根据实际问题来建立对应的数:学模型。 如果把实际问题建模 成数学问题,就会大大地方便...
CSP题解
250
2025-10-25
《C++CSP题解》
素数回文数的个数[T1408] 素数回文数的个数[T1408] #include < bits / stdc ++. h > using namespace std ; bool is_ss ( int n ){ if ( n < 2 ){ return false ; }...
完善程序
240
2025-08-13
《2025暑假csp笔试笔记》
#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 ...
1..
«
3
4
5
6