他说我标题太短,这下够长了吧。C语言之手写strcat 摘要:这么简单的代码却让我调了半天,结果重写了一遍才过。好玄学啊。。。于是乎学到一件事,不要在垃圾堆上挑挑拣拣,直接把垃圾扔掉重新做。 #include int main…… 题解列表 2022年04月02日 0 点赞 0 评论 306 浏览 评分:2.0
蓝桥杯2021年第十二届省赛真题-最少砝码(Python) 摘要:解题思路: 没有Python就写一下吧 思路参考C优质题解注意事项:参考代码:n = int(input())cnt = 1weight = 1total = 1while total<n: c…… 题解列表 2022年04月02日 0 点赞 0 评论 573 浏览 评分:2.0
求a,b,c的最小公倍数 摘要:解题思路:求a,b,c的最小公倍数注意事项:参考代码:a,b,c=map(int,input().split())for i in range(1,a*b*c+1): if i%a==0 and…… 题解列表 2022年04月05日 0 点赞 0 评论 423 浏览 评分:2.0
python入门题之温度转换 摘要:解题思路:先定义浮点型“f”然后括号输入,再写出温度转换的主要公式,之后输出c的时候记得用大括号,0,冒号,“.2f”是指后两位,然后连起来就是0后两位,也就是小数点后两位,' '这个…… 题解列表 2022年04月09日 0 点赞 0 评论 591 浏览 评分:2.0
编写题解 1042: [编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b[100]; int i; ge…… 题解列表 2022年04月11日 0 点赞 0 评论 261 浏览 评分:2.0
[编程入门]猴子吃桃的问题 【公式求解】 摘要:解题思路:求出公式注意事项:公式:2**(n-1) +2**n-2参考代码:n = int(input())a = 2**(n-1) +2**n-2print(a)…… 题解列表 2022年04月13日 0 点赞 0 评论 345 浏览 评分:2.0
C++实现贷款计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; float c; cin>>a>>…… 题解列表 2022年04月25日 0 点赞 0 评论 643 浏览 评分:2.0
1169: 绝对值排序 摘要:解题思路:利用冒泡法进行排序注意事项:while循环时一定要记得设置输入的数不为0参考代码:#include <stdio.h>#include <stdlib.h> int main(){ i…… 题解列表 2022年05月03日 0 点赞 0 评论 233 浏览 评分:2.0
成绩评定 题解(c++暴力简单) 摘要:解题思路:不就是暴力判断嘛!还不会!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d…… 题解列表 2022年05月08日 0 点赞 0 评论 225 浏览 评分:2.0
蓝桥杯算法提高VIP-计算质因子 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;bool isprime(int x) { //判断质数 for(int i …… 题解列表 2022年05月08日 0 点赞 0 评论 225 浏览 评分:2.0