C++字符串连接 摘要:# string ```c++ #include using namespace std; int main() { string a,b; while(cin>…… 题解列表 2023年06月08日 0 点赞 0 评论 601 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101]; int n,i; scanf…… 题解列表 2023年06月08日 0 点赞 0 评论 450 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100][100] = { 0 }, i, j, n, m,sum=0; scanf("…… 题解列表 2023年06月08日 0 点赞 0 评论 593 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double f(int x){ double c; if (x == 1) c = 1.0; else…… 题解列表 2023年06月08日 0 点赞 0 评论 410 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long int max = -1000000,a[100],sum=0; …… 题解列表 2023年06月08日 0 点赞 0 评论 986 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和 摘要:#include<stdio.h> #include<stdlib.h> typedef struct elemtype { int a; int b; struct elem…… 题解列表 2023年06月08日 0 点赞 0 评论 433 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作(有老六解法,C语言) 摘要:老六解题法 #include<stdio.h> int main(){ int a[10],b[10]; int sum1 = 0,sum2 = 0; for(int i=0;…… 题解列表 2023年06月08日 0 点赞 0 评论 474 浏览 评分:0.0
------数字分离----- 解题思路:利用字符数组来接受数据然后顺序打印即可法一用函数法二不用函数感觉比法一还简洁一点若说错了请多多包含注意事项:参考代码://法一:/*题目1034:[编程入门]自定义函数之数字分离题目描述写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。 题解列表 2023年06月08日 0 点赞 0 评论 510 浏览 评分:0.0
基于树状数组实现 解题思路:树状数组注意事项:输入要快读参考代码:importsysn,m=map(int,input().split())a=[0for_inrange(n+1)]tr=[0for_inrange(n+1)]deflowbit(x):returnx&-xdefadd(x, 题解列表 2023年06月08日 0 点赞 0 评论 516 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1001]; gets(str); st…… 题解列表 2023年06月08日 0 点赞 0 评论 499 浏览 评分:0.0