大小写转换 (C语言代码) 摘要:解题思路: 一边输入一边输出,输出时注意将小写变为大写即可,英文字母小写变为大写只需要减32即可注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int m…… 题解列表 2018年07月29日 0 点赞 1 评论 498 浏览 评分:6.0
稍微运用下结构体数组 (可AC) 想挑战自己的来观看一波 (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> struct node { char str; int num; }Node[26]; i…… 题解列表 2018年07月28日 3 点赞 1 评论 716 浏览 评分:0.0
优质题解 Manchester-水陆距离 (朴素方法) 摘要:解题思路:①:若某陆地上下左右其中有一个是水域,则该陆地到水域的最短距离一定为1②:两个点的距离为x坐标相减的差得绝对值与y坐标相减差的绝对值之和③:把所有水域的坐标保存起来,用②距离公式求出距离选最…… 题解列表 2018年07月28日 7 点赞 2 评论 1580 浏览 评分:8.4
觉得大佬们写的好长呀 ( 可 AC ) (C语言代码) 摘要:解题思路: 用'.'分隔字符串,将字符串变为整数,判断是否处于0到255之间,如果处于,记录个数加一; 循环结束之后,判断符合ip条件的整数…… 题解列表 2018年07月28日 4 点赞 2 评论 490 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (简洁容易理解) 摘要:解题思路:设定一个数组,假设这个数组是一个圆形。注意事项:因为多设了一个数组作为缓存,所以最后的截断要注意。参考代码:#include<stdio.h>int main(){ int i, j,…… 题解列表 2018年07月28日 0 点赞 0 评论 888 浏览 评分:0.0
可 ( AC ) (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { int n, i, j; while (…… 题解列表 2018年07月28日 4 点赞 3 评论 678 浏览 评分:9.9
链表实现 ( 可AC ) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> int num = 0; typedef struct stu …… 题解列表 2018年07月28日 1 点赞 1 评论 340 浏览 评分: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 评论 581 浏览 评分:0.0
妹子杀手的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdlib.h>using namespace std;int main (){ int a,b; whil…… 题解列表 2018年07月28日 0 点赞 0 评论 915 浏览 评分: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 评论 1006 浏览 评分:0.0