【明明的随机数】 (C语言代码) 摘要:解题思路:先排序再去重注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,h,a[100],b[100],l=1; scanf("%d",&n); for…… 题解列表 2018年07月28日 0 点赞 0 评论 717 浏览 评分:0.0
C语言链表实现 ( 可AC ) (C语言代码) 摘要:解题思路: 构建循环链表,然后进行报数操作,3的倍数将序号修改为0;直到淘汰人数为总人数减一; &nbs 题解列表 2018年07月28日 2 点赞 2 评论 433 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C++代码) 摘要:解题思路:注意事项:保留小数点后5位要用到setprecision函数命令参考代码:#include<iostream>#include<iomanip>using namespace std;dou…… 题解列表 2018年07月28日 0 点赞 0 评论 1214 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法 (C++代码) 摘要:#include "iostream" #include "algorithm" #include "string" using namespace std; string add(strin…… 题解列表 2018年07月28日 1 点赞 0 评论 1398 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int prime(int n, int i, int c) { if (n > 1 && n == (int)n) {…… 题解列表 2018年07月28日 0 点赞 0 评论 1374 浏览 评分:0.0
妹子杀手的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdlib.h>using namespace std;int main (){ int a,b; whil…… 题解列表 2018年07月28日 0 点赞 0 评论 1153 浏览 评分:0.0
汽水瓶 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<iostream>int fin(int k){ int y; y = k / 2; …… 题解列表 2018年07月28日 0 点赞 0 评论 717 浏览 评分:0.0
链表实现 ( 可AC ) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> int num = 0; typedef struct stu …… 题解列表 2018年07月28日 1 点赞 1 评论 382 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (简洁容易理解) 摘要:解题思路:设定一个数组,假设这个数组是一个圆形。注意事项:因为多设了一个数组作为缓存,所以最后的截断要注意。参考代码:#include<stdio.h>int main(){ int i, j,…… 题解列表 2018年07月28日 0 点赞 0 评论 1048 浏览 评分:0.0
觉得大佬们写的好长呀 ( 可 AC ) (C语言代码) 摘要:解题思路: 用'.'分隔字符串,将字符串变为整数,判断是否处于0到255之间,如果处于,记录个数加一; 循环结束之后,判断符合ip条件的整数…… 题解列表 2018年07月28日 4 点赞 2 评论 556 浏览 评分:0.0