二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c; int f; for(c=-100;c<=150;c=c+5) { f= 32 + c* 9/5…… 题解列表 2023年03月10日 0 点赞 0 评论 439 浏览 评分:0.0
无参宏定义 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define m a%bint main(){ int a,b; scanf("%d%d",&a,&b); printf("%d",m…… 题解列表 2023年03月10日 0 点赞 0 评论 264 浏览 评分:0.0
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int A=0,B=0,C=0; for(int i=1;i<=100;i++) { …… 题解列表 2023年03月10日 0 点赞 0 评论 202 浏览 评分:0.0
二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:C语言 abs() 函数用于求整数的绝对值。头文件:math.h 或者 stdlib.h语法/原型:int abs(int n);n 表示要求绝对值的数。返回值:参数的绝对值。参考…… 题解列表 2023年03月10日 0 点赞 0 评论 213 浏览 评分:0.0
一定注意行和列都大于0,否则没有意义 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().strip().split()) if m>=1 and n>=1: for l in range(m): …… 题解列表 2023年03月10日 0 点赞 0 评论 235 浏览 评分:0.0
杨辉三角—数组版本C++ 摘要:解题思路:构造一个二维矩阵存放杨辉三角的数值,然后直接查找输出指定位置的数据即可注意事项:但是使用int类型构造二维数组时,总是报错,提示数组越界,偶然间看到用long long 来代替,问题得到解决…… 题解列表 2023年03月10日 0 点赞 0 评论 290 浏览 评分:0.0
快速排序-链表合并 摘要:解题思路:注意事项:参考代码:while True: try: a = [] N, M = map(int, input().split()) for …… 题解列表 2023年03月10日 0 点赞 0 评论 286 浏览 评分:0.0
3074: 计算(calc) 摘要:解题思路:自己看着代码 把案例过一遍 代码就明白了 自己再多敲几遍注意事项:参考代码:#include<bits/stdc++.h>using namespace std;stack<int>num;…… 题解列表 2023年03月11日 0 点赞 0 评论 482 浏览 评分:0.0
哥们 看看我为啥运行错误 凑啊 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s ="abcdefghijklmnopqrstuvwxyz";cha…… 题解列表 2023年03月11日 0 点赞 0 评论 344 浏览 评分:0.0
奇数偶数和 摘要:解题思路: 用两次循环分别跑一遍奇数和与偶数和注意事项:参考代码: #include<stdio.h>int main(){ int m,i,j; int a=0,n=0; …… 题解列表 2023年03月11日 0 点赞 0 评论 272 浏览 评分:0.0