2757:强制类型转换-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { float n; scanf("%f",&n); …… 题解列表 2022年12月22日 0 点赞 0 评论 621 浏览 评分:8.7
编写题解 2823: 计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j; int sign = 1; double sum = 0; …… 题解列表 2022年12月26日 0 点赞 1 评论 448 浏览 评分:8.7
1032: [编程入门]自定义函数之字符串连接 (c++) 摘要:解题思路: 定义两个string变量 再cout输出就行了注意事项: 很暴力很暴力参考代码:#include<iostream> #include<string> using namespace …… 题解列表 2023年01月05日 0 点赞 1 评论 459 浏览 评分:8.7
IKUN手把手教你 开关灯(小黑子勿进=_=||) 摘要:解题思路: 这里简单说一下吧,说到这里,请看我的优质答案!相信爱坤都能明白=_=||注意事项: 他这个输出的设置就很鸡贼,中间有逗号,最后没有逗号,所以又要我int kun…… 题解列表 2023年01月07日 0 点赞 1 评论 615 浏览 评分:8.7
Hello, World!(C语言入门) 摘要:解题思路:使用printf函数,将Hello, World输入进去即可。注意事项:1.使用英文标点符号2.逗号后面有一个空格参考代码:#include<stdio.h>int main(){ p…… 题解列表 2023年01月11日 0 点赞 1 评论 1467 浏览 评分:8.7
简单算数表达式求值(switch做法,C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int num1,num2; char ch; scanf…… 题解列表 2023年02月01日 0 点赞 1 评论 662 浏览 评分:8.7
两个for 循环搞定 摘要:解题思路:用string.h函数,变量len 来进行字符串长度的统计,确定for 语句中的范围利用变量i和变量进行循环嵌套,外循环来进行判断每个数是否在数组中有与之相同 的数如有相同数则用sum来进行…… 题解列表 2023年02月07日 0 点赞 1 评论 758 浏览 评分:8.7
1035: [编程入门]自定义函数之字符类型统计 摘要:```cpp #include #include #include using namespace std; /* 题目描述 编写一函数,由实参传来一个字符串,统计此字符串中字母、数…… 题解列表 2023年02月20日 0 点赞 1 评论 172 浏览 评分:8.7
数组插入处理 JAVA list集合 摘要:解题思路:单纯数组无法进行动态插入,建立两个数组来进行题解有点繁琐,采取List集合注意事项:参考代码:package CSiteExercise; import java.util.Array…… 题解列表 2023年03月14日 0 点赞 0 评论 241 浏览 评分:8.7
蓝桥杯2022年第十三届决赛真题-卡牌(二分答案) 摘要:解题思路: 直接二分,注意cheak函数的写法。 ```cpp bool cheak(int x) { ll ans = 0; for (int i = 1; i > n >> m; …… 题解列表 2023年03月18日 0 点赞 1 评论 1707 浏览 评分:8.7