1070: 二级C语言-成绩归类 摘要:解题思路: 使用逗号表达式作为退出条件的判断注意事项:参考代码:#include<stdio.h>#define N 1010int arr[N];int main(){ int i = 0; int…… 题解列表 2022年12月09日 0 点赞 0 评论 554 浏览 评分:0.0
realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 522 浏览 评分:0.0
定义动态二维数组 摘要:解题思路:遍历找到最小值注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n;int min,a,b; while(…… 题解列表 2022年12月10日 0 点赞 0 评论 492 浏览 评分:0.0
1027.自定义函数处理最大公约数与最小公倍数题解简洁容易 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int gcd(int m,int n){ if(m%n==0) return n; else return gcd(n,m%n);}…… 题解列表 2022年12月10日 0 点赞 0 评论 548 浏览 评分:0.0
1029题解简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int fun(int m){ int y; y=(int)sqrt(m); for(int i=2…… 题解列表 2022年12月10日 0 点赞 0 评论 509 浏览 评分:0.0
1034 题解简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int seperate(int m,int x,int y,int z,int w){ x=m/1000%10; y=m/100%1…… 题解列表 2022年12月10日 0 点赞 0 评论 507 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布 c 摘要:解题思路:注意事项:参考代码:#include<stdio.h>enum play {a=-1,b,c};int main(){ enum play outcome; int p1,p2…… 题解列表 2022年12月11日 0 点赞 0 评论 595 浏览 评分:0.0
题解c语言代码 解题思路:用字符的特性来解题,每个字符+4即得到想要的字母。注意事项:这样的代码理解起来非常简单,而且可以加深gets()与puts()的记忆。PS:之前见过大佬这样写的,但是后来找不到了,如果重复纯属巧合;参考代码:#includeintmain(){chara[11];gets( 题解列表 2022年12月11日 0 点赞 0 评论 419 浏览 评分:0.0
循环嵌套实现DNA(C++) 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int N, a, b, n = 1; cin >> N;…… 题解列表 2022年12月11日 0 点赞 0 评论 589 浏览 评分:0.0
输出Tom数(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int station = 10;int main(){ …… 题解列表 2022年12月11日 0 点赞 0 评论 589 浏览 评分:0.0