自定义函数之字符串连接(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<assert.h> char* my_strcat(char* dest, char* src) { …… 题解列表 2023年01月05日 0 点赞 0 评论 411 浏览 评分:0.0
简单版汽水瓶代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i = 0; for(i=0;i<10;i++) { int a = …… 题解列表 2023年01月05日 0 点赞 0 评论 384 浏览 评分:0.0
编写题解 2239: 蓝桥杯算法训练-动态数组使用 摘要:解题思路:注意事项:参考代码:#include <malloc.h> //所需的头文件 #include <stdio.h> int main() { int *a, n; int…… 题解列表 2023年01月05日 0 点赞 0 评论 366 浏览 评分:9.9
1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int func(int x); int main() { int a,sum; sum = 0; sc…… 题解列表 2023年01月05日 0 点赞 0 评论 396 浏览 评分:0.0
2998: 电影票(极为简单) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a; cin>>a; …… 题解列表 2023年01月05日 0 点赞 0 评论 1006 浏览 评分:9.9
3042: 金银岛 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct a{ double mi,vi,zi; }b[10000…… 题解列表 2023年01月05日 0 点赞 0 评论 806 浏览 评分:9.9
3041: 最大子矩阵 摘要:解题思路:1.s[][]为和第二个循环为来赋s的初值。 2.第三个循环来算x与mx判断哪个大 3.输出注意事项:要定义mx和x i2,i1,j1,j2 不要弄混参考代码:#include<bit…… 题解列表 2023年01月05日 0 点赞 0 评论 547 浏览 评分:9.9
3041: 最大子矩阵 摘要:解题思路:要就复制吧,爱就点赞吧注意事项:参考代码:#include<bits/stdc++.h> using namespace std; long long x,n,a[105][105],s…… 题解列表 2023年01月05日 0 点赞 0 评论 618 浏览 评分:9.9
位运算 26行 摘要:解题思路:x&-x返回当前x在二进制表示时最右侧的1构成的数如(9)&(-9)=(00000000 00001001)&(11111111 11110111)=00000000 00000001=1(…… 题解列表 2023年01月05日 1 点赞 0 评论 473 浏览 评分:9.9
自定义函数之字符串反转(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char str[]){ char* str1 = str; char* str2…… 题解列表 2023年01月04日 0 点赞 0 评论 373 浏览 评分:9.9