C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:用 \n 实现换行注意事项:1.注意*号数量 2.注意空格大小写 3记得加“ 4不要忘#include<stdio.h>参考代码:#include<stdio.h>int main(){ …… 题解列表 2018年08月26日 0 点赞 0 评论 600 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct{ char num[50]; char name[50]; …… 题解列表 2018年08月25日 0 点赞 0 评论 881 浏览 评分:0.0
蓝桥杯算法训练VIP-拦截导弹 (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; const int SIZE = 100123; int datas[SIZE]; in…… 题解列表 2018年08月25日 1 点赞 0 评论 1879 浏览 评分:9.6
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:当x>y时,将y作为最大公因子依次递减,寻找最大公因子;选择x的倍数依次递增寻找最小公倍数注意事项:参考代码:#include<stdio.h>int main(){ int x,y…… 题解列表 2018年08月25日 0 点赞 0 评论 598 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ int i; double sum=1; for(i=1;i<=n;++…… 题解列表 2018年08月25日 0 点赞 0 评论 877 浏览 评分:0.0
a = a * 10 + 2; Sn = Sn + a; 摘要:参考代码:#include<stdio.h>int main(){ int n,Sn = 0,i,a = 0; scanf("%d",&n); for(i=0; i<n; i++) …… 题解列表 2018年08月25日 0 点赞 0 评论 811 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string.h>#include <set>using namespace std;int main(){ …… 题解列表 2018年08月25日 0 点赞 0 评论 735 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[50],i=0; int count1=0,count2=0,count3=0; …… 题解列表 2018年08月25日 0 点赞 0 评论 715 浏览 评分:0.0
在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止; 代码中while里的表达式(c = getchar()) != '\n',意 摘要:解题思路和注意事项:在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止;代码中while里的表达式(c = getchar()) != '\n…… 题解列表 2018年08月25日 0 点赞 0 评论 2301 浏览 评分:9.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a[10][10]; int i,j,maxi,ma…… 题解列表 2018年08月25日 0 点赞 0 评论 846 浏览 评分:0.0