明明的随机数 (C语言代码) 摘要:/************方法一(利用一维数组记录重复数字在数组中的下标)************************/ /*建议用一维链表,删除元素不需要移动大量元素*/ #include<…… 题解列表 2018年11月21日 1 点赞 0 评论 975 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:#include<stdio.h> int main() { int a,b,sum…… 题解列表 2018年11月20日 0 点赞 0 评论 436 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){int i,j,n,x=0,y,sum=0;scanf("%d",&n);if(n<3){printf("no")…… 题解列表 2018年11月20日 2 点赞 0 评论 634 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:先要确定输入的密码字母的个数,如果想要适合大多数情况,这时候就要用到数组了。注意事项:参考代码:#include <stdio.h>int N;int main(){ int a[N]…… 题解列表 2018年11月20日 0 点赞 0 评论 518 浏览 评分:0.0
IP判断 (C语言代码) 摘要:解题思路:利用ASCII解题注意事项:参考代码:#include"stdio.h" #include"string.h" int main() { char ch[30];…… 题解列表 2018年11月20日 0 点赞 0 评论 580 浏览 评分:0.0
Hanoi双塔问题 (C语言代码)由hanoi塔稍微变换一下 摘要:#include<stdio.h> void hanoi(int n,char x,char y,char z); void move(); long count=0; int main() …… 题解列表 2018年11月21日 2 点赞 2 评论 824 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:解题思路:运算符重载,大数模板注意事项:+=不要写成=参考代码:#include <iostream> #include <string> #include <memory.h> #includ…… 题解列表 2018年11月21日 0 点赞 0 评论 818 浏览 评分:0.0
IP判断 (C++代码) 摘要:解题思路:注意事项: 坑爹的题目参考代码:#include<iostream>#include<string>#include<algorithm>#include<string.h>using na…… 题解列表 2018年11月21日 0 点赞 0 评论 1280 浏览 评分:0.0
蓝桥杯算法提高VIP-统计单词数 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"int main(){ char s[100] = { 0 }, t[100][100] = { 0 }; int i, j…… 题解列表 2018年11月21日 0 点赞 0 评论 902 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ float r,s; printf("输入半径: /n"); scanf("%f",&r); …… 题解列表 2018年11月21日 0 点赞 0 评论 681 浏览 评分:0.0