各位大佬,我的程序为什么不行啊 摘要:#include<stdio.h> int main() { int a[4]; for (int i = 0; i < 4; i++) { scanf("%d", &a[…… 题解列表 2023年06月07日 0 点赞 2 评论 289 浏览 评分:6.0
C++函数重载练习 摘要:# C++ 函数重载 > 重载`Compare`函数 ```c++ int Compare(int a, int b) { return a > b ? a : b; } int…… 题解列表 2023年06月07日 0 点赞 0 评论 396 浏览 评分:0.0
[STL训练]sort练习 摘要:# STL sort ## 头文件 ```c++ #include ``` # 完整代码 ```c++ #include #include #include int mai…… 题解列表 2023年06月07日 0 点赞 0 评论 422 浏览 评分:0.0
题目 1303: 统计数字题解 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; int a[500001],n,ans=1; int main…… 题解列表 2023年06月07日 0 点赞 0 评论 347 浏览 评分:0.0
规律的数列求和 摘要:解题思路:利用malloc函数动态分配内存将类似于斐波那契数列数列存储在两个动态数组内再利用一个动态数组来接收注意事项:使用malloc函数最后要free()参考代码:/*题目 1018: [编程入门…… 题解列表 2023年06月07日 0 点赞 0 评论 277 浏览 评分:9.9
最简单的思路 摘要:#include<stdio.h> int main(){ char c; int sum = 0; while(scanf("%c",&c)){ …… 题解列表 2023年06月06日 0 点赞 0 评论 336 浏览 评分: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 评论 291 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[61],str1[61]; gets(str); str[…… 题解列表 2023年06月06日 0 点赞 0 评论 325 浏览 评分: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 评论 320 浏览 评分: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 评论 464 浏览 评分:9.9