蓝桥杯算法提高VIP-删除数组中的0元素 (C语言代码)新手题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int cs(int a[],int n);int main(){ int a[1000]; int n,s; scanf("%d",&…… 题解列表 2019年05月23日 0 点赞 0 评论 1276 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:用的二维数组,这是m=3这是m=5注意事项:上面的大佬考虑的很多,作为萌新我还是看不懂的参考代码:#include<stdio.h>static void fun(int a,int b);…… 题解列表 2019年05月23日 0 点赞 0 评论 760 浏览 评分:0.0
数据结构-字符串连接 (C++代码)----momoc 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main () { string a ,b; for(…… 题解列表 2019年05月23日 1 点赞 0 评论 845 浏览 评分:0.0
蓝桥杯算法训练VIP-字符删除 (C语言代码) 摘要:解题思路:主要考察对数组的运用,再就是基础注意事项:注意格式不要写错参考代码:# include <stdio.h>int main(){char str[21],str2[21],ch;gets(s…… 题解列表 2019年05月23日 0 点赞 0 评论 794 浏览 评分:0.0
蓝桥杯算法训练VIP-完数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int n,i,temp,sum=0;scanf("%d",&n);temp=n;for(i=1;i<n;i++)…… 题解列表 2019年05月23日 0 点赞 0 评论 733 浏览 评分:0.0
蓝桥杯算法训练VIP-最长字符串 (C语言代码)数组和指针的灵活运用,相互切换! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char str1[102],str2[102],str3[102],str4…… 题解列表 2019年05月23日 0 点赞 0 评论 792 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 (C++代码)用C++的输入输出就行 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){char a[999],b[999];while(cin>>a>>b)c…… 题解列表 2019年05月24日 0 点赞 0 评论 718 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(double n);double mypow(double x,double n…… 题解列表 2019年05月24日 0 点赞 0 评论 776 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ double x,y; scanf("%lf",&x); if(x<0)…… 题解列表 2019年05月24日 0 点赞 0 评论 606 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>double ctof(double c,double f);int main(){ double c,f; for(c=-100;c<=…… 题解列表 2019年05月24日 0 点赞 0 评论 730 浏览 评分:0.0