首页 > TAG信息列表 > csp202203

CSP202203 全部题解

都是些简单题,但我看网上好像没有全题解,写一篇造福大学生。 未初始化警告 签到 #include <iostream> #include <cstdio> using namespace std; #define N 100005 int n, k, ans = 0; bool vis[N]; int main() { ios::sync_with_stdio(false); cin >> n >> k; vis[0] = true; fo