看我看我,我要宣布个事,我的很短,真的很短(c语言代码) 摘要:宏定义版,是不是很短 ```c #include #define ctof(c) 32 + (c * 9) / 5 int main() { for (int i = -100; i…… 题解列表 2024年08月06日 1 点赞 0 评论 326 浏览 评分:0.0
模拟计算器 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; char w; scanf("%d %d %c",&a,&b,&w); …… 题解列表 2024年08月06日 0 点赞 0 评论 259 浏览 评分:0.0
1069: 二级C语言-寻找矩阵最值(c语言代码) 摘要:数组 ```c #include #include #define MAX 6 int main(){ int n,max=0,arr[MAX][MAX],x1=0,x2=0;…… 题解列表 2024年08月06日 0 点赞 0 评论 278 浏览 评分:0.0
1070: 二级C语言-成绩归类 2种解法(c语言代码) 摘要:使用三目运算符 ```c #include #define fun(a,b,c,date) date>=85?a++:(date>60?b++:c++) int main(){ i…… 题解列表 2024年08月06日 0 点赞 0 评论 419 浏览 评分:0.0
1173: 计算球体积 题解 摘要:```c #include #include int main() { double r, a = 0; while (scanf("%lf", &r) != EOF) …… 题解列表 2024年08月06日 0 点赞 0 评论 394 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int n){ int ans=0; for(int i=1;i<n;i…… 题解列表 2024年08月06日 0 点赞 0 评论 506 浏览 评分:0.0
1680: 数据结构-八进制数 题解 摘要:```c #include #include typedef struct { int date[101]; int top; }stack;//栈 int isempt…… 题解列表 2024年08月07日 0 点赞 0 评论 379 浏览 评分:0.0
编写题解 2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N,a[100],sum=0,x=0; …… 题解列表 2024年08月07日 0 点赞 0 评论 337 浏览 评分:0.0
编写题解 2908: 白细胞计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int N=310; double a[N];in…… 题解列表 2024年08月07日 0 点赞 0 评论 232 浏览 评分:0.0
2899: 蛇形填充数组 摘要:解题思路:注意事项:参考代码:n = int(input())l = [[0 for j in range(n)] for i in range(n)]a = 1b = 0for i in range…… 题解列表 2024年08月07日 0 点赞 0 评论 353 浏览 评分:0.0