蓝桥杯算法提高VIP-P0102 进制转换题解 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Sca…… 题解列表 2022年02月16日 0 点赞 0 评论 185 浏览 评分:9.9
链表之节点删除 --题解 (Java代码) 摘要:import java.util.LinkedHashMap; import java.util.Scanner; public class Main { public static …… 题解列表 2022年02月16日 0 点赞 0 评论 273 浏览 评分:0.0
请问一下各位大佬,为什么运行正确,可是提交就是错误 摘要:```C #include struct data //定义结构体 { char num[10]; …… 题解列表 2022年02月16日 0 点赞 0 评论 447 浏览 评分:0.0
1541: 蓝桥杯算法提高VIP-欧拉函数(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> #include<math.h> using namespace std; int p…… 题解列表 2022年02月16日 0 点赞 0 评论 268 浏览 评分:0.0
面向对象:将每位同学视为一个对象进行操作; 摘要:解题思路: 将每一位同学视为一个对象,对对象进行操作,思路简单; 在判断是否有相同奖学金时,所用方法有些麻烦。(若您有更简单 题解列表 2022年02月16日 0 点赞 0 评论 272 浏览 评分:0.0
[Sapphire]1126:字符串正反连接(C语言代码) 摘要:解题思路:用新数组接收反转过后的原数组元素即可。注意事项:1.用joe[k]='\0'结束。参考代码:#include<stdio.h> #include<string.h> in…… 题解列表 2022年02月16日 0 点赞 0 评论 316 浏览 评分:9.9
数的划分(动态规划 背包问题) 摘要:n个1:1,1,1,...,1 --> n个重量为1的物品 要求拼出和为n --> 正好装满载重为n的背包 用dp数组来计数 ```cpp #include using name…… 题解列表 2022年02月16日 0 点赞 0 评论 555 浏览 评分:9.9
[Sapphire]1124:大小写转换(C语言代码) 摘要:解题思路:大写字母+=32=小写字母参考代码:#include<stdio.h> #include<string.h> int main() { int i; char st…… 题解列表 2022年02月16日 0 点赞 0 评论 255 浏览 评分:0.0
[Sapphire]1099:校门外的树(C语言代码) 摘要:校门外的树Sapphire2022/2/16解题思路:这道题的思路非常简单,0~L上一共有L+1颗树,那么我们定义一个长度为L+1的数组,赋值为1,如果在区域内则赋值为0。参考代码:#include<…… 题解列表 2022年02月16日 0 点赞 1 评论 361 浏览 评分:9.9
编写题解 1192: 十->二进制转换 摘要:解题思路:注意事项:参考代码:while True: try: a=int(input()) if a>=0: print(f"{a}-->{bin(a)[2:]}")…… 题解列表 2022年02月16日 0 点赞 0 评论 479 浏览 评分:5.6