编写题解 1116: IP判断 解题思路:注意事项:参考代码:#includeintmain(){inta,b,c,d,k;while((k=scanf("%d.%d.%d.%d",&a,&b,&c,&d))!=-1){if(k==4){if(a>=0&&a<=255&&b>=0&&b<=255&&c>=0&&c< 题解列表 2025年02月28日 0 点赞 0 评论 585 浏览 评分:0.0
DNA 二维矩阵,基础代码 摘要:#include int main(){ int N; scanf("%d",&N); int a,b; for (int q = 0; q < N; ++q) { …… 题解列表 2025年02月28日 1 点赞 0 评论 853 浏览 评分:10.0
结构体之时间设计 摘要:解题思路:注意事项:注意7,8月份都是31天参考代码:#include <stdio.h>int pdrn(int year);struct fal{ int y…… 题解列表 2025年02月28日 0 点赞 0 评论 652 浏览 评分:0.0
最高的分数 摘要:解题思路:使用了一个for循环输入成绩,再用冒泡排序进行比较,得出结论。注意事项:参考代码:#include<stdio.h>int main(){ int n,…… 题解列表 2025年02月28日 2 点赞 0 评论 620 浏览 评分:10.0
蛇行矩阵(c语言,简单易懂) 摘要:#include #includeint main(){ int N; int count = 0,num = 0; scanf("%d",&N); int sn[10][…… 题解列表 2025年02月28日 2 点赞 0 评论 698 浏览 评分:10.0
2976: 字符串中最长的连续出现的字符(c语言) 摘要:#include<stdio.h>#include<string.h>#include<math.h>int&n…… 题解列表 2025年02月27日 0 点赞 0 评论 374 浏览 评分:0.0
编写题解 1115: DNA 解题思路:注意事项:参考代码:#includeintmain(){intn,a[15],b[15],num[780][39];while(scanf("%d",&n)==1){for(inti=0;i 题解列表 2025年02月27日 0 点赞 0 评论 768 浏览 评分:0.0 写题解 1097: 蛇行矩阵 解题思路:注意事项:参考代码:#include#definemax100intmain(){intnum[max][max];intn,i=1;scanf("%d",&n);intj=0,k=0;while(j<=n){num[j][k]=i;if(j==0){j=k+1;k=0;} 题解列表 2025年02月27日 0 点赞 0 评论 575 浏览 评分:0.0 题解 1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ int i; char …… 题解列表 2025年02月27日 2 点赞 0 评论 746 浏览 评分:0.0 题解 1069: 二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n; scanf("%d",&…… 题解列表 2025年02月27日 1 点赞 0 评论 738 浏览 评分:10.0 « 12...87888990919293...29562957 »
写题解 1097: 蛇行矩阵 解题思路:注意事项:参考代码:#include#definemax100intmain(){intnum[max][max];intn,i=1;scanf("%d",&n);intj=0,k=0;while(j<=n){num[j][k]=i;if(j==0){j=k+1;k=0;} 题解列表 2025年02月27日 0 点赞 0 评论 575 浏览 评分:0.0
题解 1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ int i; char …… 题解列表 2025年02月27日 2 点赞 0 评论 746 浏览 评分:0.0
题解 1069: 二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n; scanf("%d",&…… 题解列表 2025年02月27日 1 点赞 0 评论 738 浏览 评分:10.0