优质题解 蓝桥杯算法提高VIP-大数加法题解(JAVA代码) 摘要:解题思路:和1475题一样,1475题目链接:https://www.dotcpp.com/oj/problem1475.html由于a和b都比较大,所以不能直接使用语言中的标准数据类型来存储。对于这…… 题解列表 2021年03月15日 0 点赞 2 评论 656 浏览 评分:7.3
1008: [编程入门]成绩评定 摘要:解题思路:switch判断注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; …… 题解列表 2021年03月21日 0 点赞 0 评论 587 浏览 评分:7.3
Tom数--(c语言) 摘要:解题思路:我们可以把所要算的Tom数的位数存于一个数组里,后面在把数组里的数相加就得到我们要算的Tom数了注意事项:注意定义变量的类型,防止溢出参考代码:#include<stdio.h>//注意定义…… 题解列表 2021年03月22日 0 点赞 0 评论 983 浏览 评分:7.3
题解 2105: 狂猎退去 ( C语言代码 )为什么这道题才26%的AC 摘要: 参考代码:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> int main…… 题解列表 2021年03月26日 0 点赞 0 评论 563 浏览 评分:7.3
简单方法!字符串处理 摘要:解题思路:把要处理的数字全部都插入到字符串当中, 然后找规律, 进行输出。注意事项:详情都写在代码里参考代码:#includeusing namespace std; typedef long …… 题解列表 2021年04月02日 0 点赞 0 评论 661 浏览 评分:7.3
题目 1032: [编程入门]自定义函数之字符串连接 摘要:def fun(str_1, str_2): new_ste = str_1 + str_2 return new_stestr_1 = input()str_2 = input()rel…… 题解列表 2021年04月06日 0 点赞 0 评论 731 浏览 评分:7.3
字符串问题,C语言,原地逆序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #define SWAP(a, b)((a)^=(b),(b)^=(a),(a)^=…… 题解列表 2021年04月07日 0 点赞 0 评论 959 浏览 评分:7.3
两种代码的对比 摘要:第一种递归:超时50%#include<bits/stdc++.h>using namespace std;int muniu_num(int n){ if(n<=3) return n; retu…… 题解列表 2021年04月07日 0 点赞 1 评论 325 浏览 评分:7.3
九九乘法表 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++)…… 题解列表 2021年04月07日 0 点赞 0 评论 977 浏览 评分:7.3
优质题解 菜鸟的思路 摘要:解题思路: 一、先划分大的框架,从整体看 分为length相同和不相同。 二、lengthb不相同只有一种情况,那就是第1种情况。 三、length相同分为三种情况,而这三种情况又分…… 题解列表 2021年04月12日 0 点赞 3 评论 795 浏览 评分:7.3