BLUE_RAY
BLUE_RAY
全部文章
分类
归档
标签
去牛客网
登录
/
注册
BLUE_RAY的博客
全部文章
(共4篇)
题解 | 字符串展开
#include<bits/stdc++.h> using namespace std; int p1, p2, p3; string str; int judge(int i) { if(str[i] >= 'a' && str[i] <= 'z') ...
2026-02-01
0
26
题解 | A×A=B
#include<stdio.h> #include<math.h> int main() { int t; scanf("%d", &t); while(t--) { long long b; scanf("%lld...
2026-01-28
1
22
题解 | 杨辉三角
#include<bits/stdc++.h> int main() { std::vector<int> a(3, 0); a[1] = 1; int n; std::cin >> n; for(int i = 0; i...
2025-12-09
0
30
题解 | 质数统计
还是第一次发题解= ̄ω ̄=思路主要就是先利用埃氏筛标记问题区间内的所有素数,然后用前缀和处理询问。代码如下: #include<iostream> #include<vector> std::vector<bool> num(10e6+1, true); std...
2025-12-04
0
29