非常简单(看不懂打我) 摘要:解题思路:输入后将循环倒着之后输出就好了注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[15]; for(…… 题解列表 2023年05月18日 0 点赞 0 评论 202 浏览 评分:0.0
题目 1000: [竞赛入门]简单的a+b解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2023年05月18日 0 点赞 0 评论 213 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; for…… 题解列表 2023年05月17日 0 点赞 0 评论 267 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void count(string s){ int a=s.size(); …… 题解列表 2023年05月17日 0 点赞 0 评论 186 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3][3]; for(int i=0…… 题解列表 2023年05月17日 0 点赞 0 评论 201 浏览 评分:0.0
转换成每一步代价不等的最短路问题,采用优先队列(堆)解决 摘要:解题思路:设堆顶的状态为x,y,fat,time。那么从x,y向四个方向搜索下一个点tx,ty时,有的方向会因为肥胖问题无法移动,这时我们减小身材,让他能达到tx,ty这个点(注意身材减小为1时,一定…… 题解列表 2023年05月17日 0 点赞 0 评论 276 浏览 评分:8.0
[竞赛入门]简单的a+b 摘要:解题思路:懒得写注意事项:无参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)…… 题解列表 2023年05月17日 0 点赞 2 评论 160 浏览 评分:6.0
简单计算机器实现 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin>…… 题解列表 2023年05月17日 0 点赞 0 评论 175 浏览 评分:0.0
亲和串,简洁扼要,正解。(加入了循环队列思想哦) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<set>#include<cstdio>#include<algorithm>using namespace std…… 题解列表 2023年05月17日 0 点赞 0 评论 280 浏览 评分:9.9
枚举法 列出所有的可能 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,e,f; for(a=0…… 题解列表 2023年05月17日 0 点赞 0 评论 252 浏览 评分:0.0