奇数单增序列 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2023年06月06日 0 点赞 0 评论 524 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> //strlen()函数在string头文件中,一定得先调用一下 int …… 题解列表 2023年06月06日 0 点赞 0 评论 435 浏览 评分:0.0
蓝桥杯2021年第十二届国赛真题-二进制问题 #C++#dfs ```c++#includeusingnamespacestd;typedeflonglongll;typedefpairPII;constintN=1e5+5;lln,k;llans;//这个函数主要是为了判断n个位置放置m个1有多少种方案数llC(intn, 题解列表 2023年06月06日 0 点赞 0 评论 698 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, k,m,sum=0; scanf("%d %d", &n, &k); m = n…… 题解列表 2023年06月06日 0 点赞 0 评论 462 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[61],str1[61]; gets(str); str[…… 题解列表 2023年06月06日 0 点赞 0 评论 467 浏览 评分:0.0
模拟计算器(C语言) 摘要:#include<stdio.h> int main(){ int a,b; double sum; char c; scanf("%d%d",&a,&b); getc…… 题解列表 2023年06月06日 0 点赞 0 评论 516 浏览 评分:0.0
最简单的思路 摘要:#include<stdio.h> int main(){ char c; int sum = 0; while(scanf("%c",&c)){ …… 题解列表 2023年06月06日 0 点赞 0 评论 505 浏览 评分:0.0
规律的数列求和 解题思路:利用malloc函数动态分配内存将类似于斐波那契数列数列存储在两个动态数组内再利用一个动态数组来接收注意事项:使用malloc函数最后要free()参考代码:/*题目1018:[编程入门]有规律的数列求和题目描述有一分数序列:2/13/25/38/513/821/13......求出这个数列 题解列表 2023年06月07日 0 点赞 0 评论 433 浏览 评分:9.9
题目 1303: 统计数字题解 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; int a[500001],n,ans=1; int main…… 题解列表 2023年06月07日 0 点赞 0 评论 603 浏览 评分:0.0
[STL训练]sort练习 #STLsort##头文件```c++#include```#完整代码```c++#include#include#includeintmain(){intn,m;std::cin>>n>>m;int*nums=newint[n];for(inti=0;i>nums[ 题解列表 2023年06月07日 0 点赞 0 评论 658 浏览 评分:0.0