2025年CSP-J/S认证时间安排
第一轮认证(CSP-J1/S1)
- 📅 报名时间:2025年7月中旬
- 📅 考试时间:2025年9月20日
- 📝 考试形式:笔试
- 📅 考试时间:2025年10月25日
- 📝 考试形式:机试
- 🖥 考试语言:C++
- 基础语法:熟练掌握C++基本语法
- 数据结构:数组、链表、栈、队列、树、图
- 算法:排序、搜索、动态规划、贪心
- 真题训练:反复练习历年真题
第二轮认证(CSP-J2/S2)
备考建议
// 经典题型:快速排序
#include <algorithm>
using namespace std;
const int N = 100010;
int a[N];
void quick_sort(int l, int r) {
if (l >= r) return;
int i = l - 1, j = r + 1, x = a[(l + r) >> 1];
while (i < j) {
do i++; while (a[i] < x);
do j--; while (a[j] > x);
if (i < j) swap(a[i], a[j]);
}
quick_sort(l, j);
quick_sort(j + 1, r);
}