python--study||O.o 摘要:参考代码:arr = [[0] * 9 for _ in range(9)] temp = [[0] * 9 for _ in range(9)]#辅助列表,接收变化后的数据 dx = (-1,0…… 题解列表 2024年04月16日 0 点赞 0 评论 279 浏览 评分:0.0
2832: 第n小的质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年04月16日 0 点赞 0 评论 196 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年04月16日 0 点赞 0 评论 216 浏览 评分:0.0
模拟题暴力题 摘要:``` #include #include #define int long long #define N 10100 using namespace std; bool check(in…… 题解列表 2024年04月16日 0 点赞 0 评论 575 浏览 评分:9.9
DFS当中的大水题 摘要:``` #include #define int long long #define endl '\n' #define fi first #define se second using…… 题解列表 2024年04月16日 3 点赞 1 评论 1195 浏览 评分:7.3
python--study||O.o 摘要:参考代码:from copy import deepcopy dx = (-1, 0, 1, 0) dy = (0, -1, 0, 1) def judge(x, y): fo…… 题解列表 2024年04月16日 0 点赞 0 评论 273 浏览 评分:0.0
信息学奥赛一本通TT1262-挖地雷 摘要:解题思路:DP 逆推, 邻接矩阵注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N…… 题解列表 2024年04月16日 0 点赞 0 评论 203 浏览 评分:6.0
究极空间换时间之无脑枚举 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=1e5+10;int a0[N],a1[N],a2[N],a…… 题解列表 2024年04月16日 0 点赞 0 评论 324 浏览 评分:6.0
信息学奥赛一本通T1263-友好城市 摘要:解题思路:转化为最长不下降子序列注意事项:参考代码:#include<iostream> #include<utility> #include<algorithm> using namespac…… 题解列表 2024年04月16日 0 点赞 0 评论 175 浏览 评分:9.9
画矩形普通思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,n; char c; scanf("%d %d %c %d",&x,&y,&c…… 题解列表 2024年04月16日 0 点赞 0 评论 152 浏览 评分:0.0