2760 整形与布尔型的转换(C++) 摘要:解题思路:布尔注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a;…… 题解列表 2023年11月25日 0 点赞 0 评论 316 浏览 评分:8.0
优质题解 IP判断纯暴力解(c语言题解) 摘要:解题思路:在基于Internet的程序中,我们常常需要判断一个IP字符串的合法性。合法的IP是这样的形式:A.B.C.D其中A、B、C、D均为位于[0, 255]中的整数。为了简单起见,我们规定这四个…… 题解列表 2023年11月28日 302 点赞 1 评论 2725 浏览 评分:8.0
1099: 校门外的树 摘要:``` #include using namespace std; int l,r,L[10001],n,m; int main() { cin>>n>>m; for(int i=0;…… 题解列表 2023年11月28日 0 点赞 0 评论 188 浏览 评分:8.0
1011: [编程入门]最大公约数与最小公倍数 摘要:参考代码:#include<stdio.h>int main(){ int m, n,i,k,f; scanf_s("%d %d", &m, &n); if (m > n) { k = m; m = …… 题解列表 2023年11月29日 0 点赞 0 评论 210 浏览 评分:8.0
矩阵交换行 摘要:解题思路:注意事项:参考代码:for i in range(5): ls = list(map(int, input().split())) a.append(ls)b = list(ma…… 题解列表 2023年11月30日 0 点赞 0 评论 445 浏览 评分:8.0
优质题解 题解 3173: 蓝桥杯2023年第十四届省赛真题-蜗牛(动态规划,Java) 摘要:解题思路:动态规划两个数组变量:// 坐标原点距竹子传送点最短时间 // minStart[i]代表坐标原点距第i个竹子上的传送点的最短时间,i从1开始 double[] minStart = n…… 题解列表 2023年12月02日 394 点赞 0 评论 4407 浏览 评分:8.0
2946: 数制转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;char s[1000];int a[1…… 题解列表 2023年12月02日 0 点赞 0 评论 423 浏览 评分:8.0
2182: [编程入门]打印图案 c++萌新 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {cout <<" *"<<endl;cout <<" * *"<…… 题解列表 2023年12月04日 0 点赞 0 评论 1170 浏览 评分:8.0
利用C++完成数组插入处理 摘要:解题思路:注意事项:参考代码:#include<iostream>#define TOTAL 10using namespace std;int array[TOTAL],insertnum;int …… 题解列表 2023年12月04日 0 点赞 0 评论 287 浏览 评分:8.0
题目 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码: #include #include int main() { int M,N; …… 题解列表 2023年12月07日 0 点赞 0 评论 188 浏览 评分:8.0