信息学奥赛一本通T1252-走迷宫,dfs做法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量 int a, b, h[50][50]; // a和b…… 题解列表 2024年11月18日 0 点赞 0 评论 289 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:注意使用 &&参考代码:#include<stdio.h>#include<math.h>int main (){ double x; scanf ("%lf",&x); if (…… 题解列表 2024年11月18日 0 点赞 0 评论 304 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-遗迹 摘要:解题思路:ret放在最外层循环就AC了,但觉得后台数据应该错了,ret 觉得应该是放在 auto& k1 循环内的前后结点相同的状态应该也有扩展状态的必要,而不是直接继承注意事项:参考代码:#incl…… 题解列表 2024年11月18日 1 点赞 2 评论 828 浏览 评分:0.0
信息学奥赛一本通T1616-A 的 B 次方 摘要:参考代码:#include <stdio.h> // 快速幂实现 long long int mod_exp(long long int a, long long int b, long long…… 题解列表 2024年11月18日 0 点赞 0 评论 128 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2024年11月18日 0 点赞 0 评论 134 浏览 评分:0.0
不懂评论简化 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) for i in range(5): a[i]//=3 up=4 if(i==0)…… 题解列表 2024年11月18日 0 点赞 0 评论 123 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); while(a!=1) { …… 题解列表 2024年11月18日 0 点赞 0 评论 164 浏览 评分:0.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; double t=0; scanf("%d",&a); for(b=1…… 题解列表 2024年11月18日 0 点赞 0 评论 151 浏览 评分:0.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n,c=1; scanf("%d",&n); for(a=1;a<=n;a++) …… 题解列表 2024年11月18日 0 点赞 0 评论 188 浏览 评分:0.0
最高的分数题解 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> //vector头文件 using namespace std; int max(…… 题解列表 2024年11月19日 0 点赞 0 评论 124 浏览 评分:0.0