二级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 评论 149 浏览 评分: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 评论 185 浏览 评分:0.0
二级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 评论 365 浏览 评分:0.0
字符串匹配问题(strs) 摘要:解题思路:将字符用数字来代替注意事项:参考代码:#include<bits/stdc++.h>using namespace std;//定义字符数组 和 数字数组 // 数字的优先级为0,1,2,3…… 题解列表 2023年03月10日 0 点赞 0 评论 342 浏览 评分:0.0
题解 1114: C语言考试练习题_排列(c语言) 摘要:解题思路:注意事项: 有被无语到,jl题目还限制输出顺序……发这个完全就是想吐槽一下这sb题目 法一为适应题目顺序的解,法二为该问题的通解参考代码:法一:#include<stdio.h>…… 题解列表 2023年03月10日 0 点赞 1 评论 230 浏览 评分:0.0
城市路(Dijkstra) 摘要:解题思路:看注释 参考代码: ```cpp #include // 引入所有标准库头文件 using namespace std; #define ll long long // 定义 lo…… 题解列表 2023年03月10日 0 点赞 0 评论 315 浏览 评分:9.9
解决纸张尺寸问题 摘要:解题思路:使用列表存储两个长短边的信息,根据用户输入的尺寸,判断长短边(要判断输出的长短边信息,要先输出长边)参考代码:long=[] short=[] s=int(input().strip()…… 题解列表 2023年03月10日 0 点赞 0 评论 756 浏览 评分:9.5
1286基础解法(Python) 摘要:解题思路:最大-最小注意事项:合理运用数据类型简化处理难度参考代码:m = int(input())lst_1 = sorted(map(int, input().split()))lst_2 = s…… 题解列表 2023年03月10日 0 点赞 0 评论 292 浏览 评分:9.9
求对角线格子问题_注释版 摘要:```cpp //#include #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #inclu…… 题解列表 2023年03月10日 0 点赞 0 评论 245 浏览 评分:0.0
LikeWater - 1969: 蓝桥杯算法提高VIP-字符串跳步C++(string字符串对象解题) 摘要:####个人感觉此题难度不大,可能是大家对与字符串对象的处理不太熟悉,下面我介绍一下。 ###string字符串对象 ***————引入#include库即可定义string对象字符串:例如s…… 题解列表 2023年03月10日 0 点赞 1 评论 374 浏览 评分:7.3