1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fun(int A[3][3]){ int A_T[3][3]; for(int i=0;i<3;i++){ …… 题解列表 2021年12月20日 0 点赞 0 评论 435 浏览 评分:0.0
C语言训练-排序问题<1> 摘要:解题思路: 冒泡排序法即可解决注意事项:参考代码:#include<stdio.h>int main(){ int i,j,temp=0; int n[4]; for(i…… 题解列表 2021年12月20日 0 点赞 0 评论 717 浏览 评分:0.0
求[X,Y]内被除3余1并且被除5余3的整数的和(python) 摘要:m,n = map(int,input().split())if m > n: m,n = n,msum = 0for i in range(m,n): if i%3 == 1 and …… 题解列表 2021年12月20日 0 点赞 0 评论 447 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:使用 swap 函数交换首尾元素。#include<bits/stdc++.h> using namespace std; int main() { int n; c…… 题解列表 2021年12月20日 0 点赞 0 评论 326 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdio.h>int main(){ int a,b,i; char arr[100]; scan…… 题解列表 2021年12月20日 0 点赞 0 评论 405 浏览 评分:0.0
多输入输出练习1(数组解法) 摘要:解题思路:注意事项:在输入为零的时候记得要将最大值置零。参考代码:#include<stdio.h>int main(){ int i=0; int max; int a[1000]; int fla…… 题解列表 2021年12月20日 0 点赞 0 评论 354 浏览 评分:0.0
1969: 蓝桥杯算法提高VIP-字符串跳步 摘要:一个循环就搞定了。#include<bits/stdc++.h> using namespace std; int main() { string s; int st…… 题解列表 2021年12月21日 0 点赞 0 评论 333 浏览 评分:0.0
c语言巧妙解答(小白) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int v1,v2,t,s,l,T=0,a=1,flag=0,i; double lu1=0,lu2=0; sc…… 题解列表 2021年12月21日 0 点赞 0 评论 395 浏览 评分:0.0
时间设计-C语言 摘要:解题思路: 首先创建一个含有十二个元素的数组,方便后面计算天数;注意事项: 闰年的二月为29天参考代码:#include<stdio.h>int main(){ int year,month,d…… 题解列表 2021年12月21日 0 点赞 0 评论 349 浏览 评分:0.0