蓝桥杯算法训练VIP-最长字符串 (C语言代码)数组和指针的灵活运用,相互切换! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char str1[102],str2[102],str3[102],str4…… 题解列表 2019年05月23日 0 点赞 0 评论 652 浏览 评分: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 评论 618 浏览 评分: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 评论 604 浏览 评分: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 评论 509 浏览 评分: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 评论 596 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n, i,j,row,col; int max; int a[10][1…… 题解列表 2019年05月24日 0 点赞 0 评论 702 浏览 评分:0.0
C语言训练-素数问题 (C语言代码)。嘛耶。。被大佬盯上了(萌新瑟瑟发抖)。赶紧水题破镜(200?) 摘要:解题思路:一个大于1的自然数,除了1和它本身之外没有其他的因数,该数就是素数!注意事项:注意负数情况。。。(测试数据不一定有,但是为了严谨!!)参考代码:#include<stdio.h>int ma…… 题解列表 2019年05月24日 0 点赞 0 评论 440 浏览 评分:0.0
C语言训练-立方和不等式 (C语言代码)水题,哗哗哗的水声。。。 摘要:解题思路:如题模拟!!注意事项:跳出循环的时候注意一下结束条件分类。s==n 一类,s>n,一类;参考代码:#include<stdio.h>int main(){ int n,i; int sum…… 题解列表 2019年05月24日 0 点赞 0 评论 822 浏览 评分:0.0
C语言训练-百钱百鸡问题 (C语言代码)这题。。ε=(´ο`*)))唉。白给。。我想暴力一下了。。。 摘要:解题思路:暴力打印。注意事项:无参考代码:#include<stdio.h>int main(){ printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,ch…… 题解列表 2019年05月24日 0 点赞 2 评论 849 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double score,n1=0,n2=0,n3=0; scanf("%lf",&score); while(…… 题解列表 2019年05月24日 0 点赞 0 评论 370 浏览 评分:0.0