头铁撞墙-狡兔 k 窟 摘要:解题思路:惯性思维硬刚等同于头铁撞墙把连通的点集视为一个结点,结点相连,然后广搜路径注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#defi…… 题解列表 2024年11月18日 2 点赞 0 评论 905 浏览 评分:9.0
普普通通的解题方法 摘要:解题思路:注意事项:注意使用 &&参考代码:#include<stdio.h>#include<math.h>int main (){ double x; scanf ("%lf",&x); if (…… 题解列表 2024年11月18日 0 点赞 0 评论 559 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫,dfs做法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量 int a, b, h[50][50]; // a和b…… 题解列表 2024年11月18日 0 点赞 0 评论 522 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float i,M,N,c,d; scanf("%f %f",&M,&N); for(i=1;…… 题解列表 2024年11月18日 0 点赞 0 评论 347 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool compare(int a,int b){ …… 题解列表 2024年11月18日 1 点赞 0 评论 405 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:#简易 a=list(map(int,input().strip().split())) a[4]+=a[0]//3 a[1]+=a[0]//3 a[0]//…… 题解列表 2024年11月18日 0 点赞 0 评论 303 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 摘要:解题思路:题目根本没要求复制,其实也用不着复制,只需要把指针定位到相应序号后输出即可注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int m…… 题解列表 2024年11月18日 0 点赞 0 评论 490 浏览 评分:0.0
编写题解 2918: 成绩排序(sort) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<algorithm>using namespace std;// 定义学生结构体,包含姓名(字符数组形式,最多容纳…… 题解列表 2024年11月17日 0 点赞 0 评论 585 浏览 评分:0.0
题目有点抽象 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a=0,b=0,c=0,d=0,e=0,f=0; for(i=1;i<=100;i++)…… 题解列表 2024年11月17日 0 点赞 0 评论 404 浏览 评分:10.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a=0,b=0,c=0,d=0; for(i=1000;…… 题解列表 2024年11月17日 0 点赞 0 评论 283 浏览 评分:0.0