python--study||O.o 摘要:参考代码:#每个草丛只能是1个'#'或2个'#' dx = (-1, 0, 1, 0) dy = (0, -1, 0, 1) def f(x, y): …… 题解列表 2024年04月17日 0 点赞 0 评论 331 浏览 评分:0.0
有点小难,但不多(自信) 摘要:思路:代码:#include <stdio.h> int main(void) { float C,F; scanf("%f", &F); //用来输出实数,…… 题解列表 2024年04月16日 0 点赞 0 评论 706 浏览 评分:0.0
虽然能通过不过我感觉输入一些数答案不是质数!!!例如输入50会输出25!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j; scanf("%d",&n); for(i=2;i<n;i++) …… 题解列表 2024年04月16日 0 点赞 0 评论 315 浏览 评分:0.0
蓝桥杯2017年第八届真题-k倍区间 前缀和 摘要:解题思路:#include <iostream> using namespace std; typedef long long ll; const int N = 1e5 + 10; …… 题解列表 2024年04月16日 0 点赞 0 评论 441 浏览 评分: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 评论 247 浏览 评分:0.0
信息学奥赛一本通T1263-友好城市 摘要:解题思路:转化为最长不下降子序列注意事项:参考代码:#include<iostream> #include<utility> #include<algorithm> using namespac…… 题解列表 2024年04月16日 0 点赞 0 评论 281 浏览 评分:9.9
究极空间换时间之无脑枚举 摘要:解题思路:注意事项:参考代码:#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 评论 453 浏览 评分:6.0
信息学奥赛一本通TT1262-挖地雷 摘要:解题思路:DP 逆推, 邻接矩阵注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N…… 题解列表 2024年04月16日 0 点赞 0 评论 297 浏览 评分:6.0
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 评论 424 浏览 评分:0.0
DFS当中的大水题 摘要:``` #include #define int long long #define endl '\n' #define fi first #define se second using…… 题解列表 2024年04月16日 3 点赞 1 评论 1346 浏览 评分:7.3