C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a[10]; //数组 int i; &nbs 题解列表 2018年06月14日 1 点赞 0 评论 571 浏览 评分:0.0
【回文数(二)】 (C语言代码)发表出来当保存,方便以后阅读。 摘要:#include<stdio.h> int save(int a[], int m)//将数m的值存入数组中,并返回位数。 { int i; for(i = 0; m >…… 题解列表 2018年06月14日 4 点赞 1 评论 600 浏览 评分:2.0
新手代码,非常容易理解 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int main() { int v1,v2,t,s,l; cin>>v1>>v2>>t>>s>…… 题解列表 2018年06月14日 2 点赞 0 评论 893 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,m; cin>>n>>m; for…… 题解列表 2018年06月13日 0 点赞 0 评论 509 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:输入m和n,从m开始到n,依次判定是否为素数,若是,累加求和注意事项:注意当i<2时的情况参考代码:#include<stdio.h>int isprime(int x) …… 题解列表 2018年06月13日 0 点赞 0 评论 689 浏览 评分:0.0
蓝桥杯算法提高VIP-输出九九乘法表 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[9]; for(int i=1;i<=…… 题解列表 2018年06月13日 0 点赞 0 评论 833 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { int a; …… 题解列表 2018年06月13日 0 点赞 0 评论 849 浏览 评分:0.0
蓝桥杯算法提高VIP-Pascal三角 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int in,i=0,j=0,kn,t[100][100]={0}; printf("请输入阶数\n"); s…… 题解列表 2018年06月13日 0 点赞 0 评论 666 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int t; int h=0,m=0,s=0,hleave; printf("请输入一个整数t\n"); sc…… 题解列表 2018年06月13日 0 点赞 0 评论 543 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//基本是用栈;栈q放最原始输入的字符串包含空格 栈qhelp是输出的时候将栈q内的单词再调换顺序负负得正的意思struct sqs…… 题解列表 2018年06月13日 0 点赞 0 评论 817 浏览 评分:0.0