正常血压(数组存储解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,x,y,n,max=0,l=1,k=0; int a[101]={0,0,0,0,0…… 题解列表 2023年12月12日 0 点赞 0 评论 576 浏览 评分:0.0
药房管理(简单易懂) 摘要:解题思路:一个一个病人检测,如果药品供应不了给那人病人,则跳到下一个病人参考代码:#include<stdio.h> int main() { int i,j,n,t;//定义取药人数n …… 题解列表 2023年12月12日 0 点赞 0 评论 795 浏览 评分:9.9
c代码记录之明明的随机数 #includeintmain(){intsj[100],dc[100],i,j,middle,min,n,k=1,t;scanf("%d",&n);for(i=0;i 题解列表 2023年12月12日 0 点赞 0 评论 470 浏览 评分:0.0
利用简单的双重循环 摘要:解题思路:#include<stdio.h>int main(){ int m,n,i; scanf("%d\n%d",&m,&n); int a[100]; int sum=…… 题解列表 2023年12月12日 0 点赞 0 评论 582 浏览 评分:0.0
c语言 较为笨重的做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int x; struct Node *nex…… 题解列表 2023年12月11日 0 点赞 0 评论 488 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:遍历第一个字符串,用switch case语句筛选出元音储存在第二个数组中注意事项:while行中应该为*p!='\0'而不是p[i]!='\0'参考代码#i…… 题解列表 2023年12月11日 0 点赞 0 评论 496 浏览 评分:0.0
冒泡法轻松解开! 摘要:解题思路:先输入前九个元素,然后输入插入元素,再然后使用冒泡法进行整体排序注意事项:参考代码:#include <stdio.h>int main(){ int arr[10]; for (int a…… 题解列表 2023年12月11日 0 点赞 0 评论 447 浏览 评分:9.9
暴力典中典 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100001int main(){ char str[N]; gets(str); int len…… 题解列表 2023年12月11日 0 点赞 0 评论 501 浏览 评分:0.0
津津的储蓄计划 摘要:解题思路:注意事项: 该赋的初值一定要注意赋!参考代码://用标记法 #include<stdio.h> int main() { int i,flag…… 题解列表 2023年12月11日 0 点赞 0 评论 595 浏览 评分:9.9
二次C语言——公约公倍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m, n,q, t; scanf_s("%d%d", &m, &n); q = m * n; if (m…… 题解列表 2023年12月11日 0 点赞 0 评论 487 浏览 评分:0.0