模拟计算器(C语言) 摘要:#include<stdio.h> int main(){ int a,b; double sum; char c; scanf("%d%d",&a,&b); getc…… 题解列表 2023年06月06日 0 点赞 0 评论 277 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[61],str1[61]; gets(str); str[…… 题解列表 2023年06月06日 0 点赞 0 评论 323 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, k,m,sum=0; scanf("%d %d", &n, &k); m = n…… 题解列表 2023年06月06日 0 点赞 0 评论 317 浏览 评分:0.0
蓝桥杯2021年第十二届国赛真题-二进制问题 #C++#dfs 摘要:```c++ #include using namespace std; typedef long long ll; typedef pair PII; const int N = 1e…… 题解列表 2023年06月06日 0 点赞 0 评论 461 浏览 评分:9.9
自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> //strlen()函数在string头文件中,一定得先调用一下 int …… 题解列表 2023年06月06日 0 点赞 0 评论 278 浏览 评分:0.0
奇数单增序列 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2023年06月06日 0 点赞 0 评论 360 浏览 评分:0.0
谁考了第K名 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc =…… 题解列表 2023年06月06日 0 点赞 0 评论 440 浏览 评分:0.0
枚举加分类 摘要:解题思路:结果只可能是4、6、8中的一个值。def func(x): sign=8 for a in (0,1): for b in (2,3): fo…… 题解列表 2023年06月06日 0 点赞 0 评论 694 浏览 评分:0.0
用C语言for循环写蛇形矩阵解题(不用数组) 摘要:解题思路:(1)观察蛇形矩阵存在两个规律:①行和列都存在一个递增关系;②每行首数据可以用一个递增值加上一个值得到。 (2)可以先把每行首元素输出,在处理首元素后面的数据,第一…… 题解列表 2023年06月06日 0 点赞 0 评论 369 浏览 评分:9.9
普通的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =10010;int a[N];…… 题解列表 2023年06月06日 0 点赞 0 评论 712 浏览 评分:0.0