2025.7.21刷题记录 摘要:解题思路:实数不只是整数还有浮点数等等注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ i…… 题解列表 2025年07月21日 0 点赞 0 评论 414 浏览 评分:2.0
2893: 肿瘤面积 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <vector>using namespace std;int main() { …… 题解列表 2025年07月22日 0 点赞 0 评论 326 浏览 评分:2.0
小白python系列-三个数最大值 摘要:解题思路:小白都能看懂系列=v=参考代码:a,b,c=map(int,input().split())if a>b: if a>c: &…… 题解列表 2025年07月30日 9 点赞 0 评论 1832 浏览 评分:2.0
第一个HelloWorld程序 摘要:解题思路:这一道题只需要输出就可以了。注意事项:1.头文件很容易用错,一定要注意头文件。2.一定要记得输出*参考代码://cout#include<bits/stdc++.h>//…… 题解列表 2025年08月04日 8 点赞 0 评论 1673 浏览 评分:2.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; int b=a;…… 题解列表 2025年09月16日 2 点赞 0 评论 801 浏览 评分:2.0
1141:百钱百鸡 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int cock,hen,chicken; fo…… 题解列表 2025年10月21日 1 点赞 0 评论 434 浏览 评分:2.0
适合新手的题解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double b;i…… 题解列表 2025年10月30日 0 点赞 0 评论 277 浏览 评分:2.0
[编程入门]带参数宏定义练习 摘要:解题思路:用C 语言的 “带参数宏” 来实现两个变量的值互换,然后通过程序验证效果。简单说就是:定义一个宏(类似“替换规则”),接收两个参数,展开后能交换这两个参数的值;再写程序输入两个数,用…… 题解列表 2025年11月03日 0 点赞 0 评论 683 浏览 评分:2.0
多组数据测试选择排序的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h; while(~scanf("%d",&N)) { …… 题解列表 2025年11月09日 0 点赞 0 评论 326 浏览 评分:2.0
菜药背包问题 摘要:解题思路://背包0-1的问题,核心把“时间”当成背包容量,//“价值”当成物品价值,标准 0-1 背包倒序刷表即可。注意事项:参考代码:#include<stdio.h>#include…… 题解列表 2025年11月28日 0 点赞 0 评论 371 浏览 评分:2.0