2025.7.4刷题记录 摘要:解题思路:对每次循环的结果通过一个存储变量进行持续累加注意事项:求分式要1/i时要注意double类型的转换要不结果会有偏差参考代码://求以下三数的和,保留2位小数 1~a之和 1~b的平方和 1~…… 题解列表 2025年07月04日 0 点赞 0 评论 9 浏览 评分:0.0
7月4号刷题记录yyyyyyyyyyyyyyyyyyy 摘要:解题思路:飒飒的注意事项:啊实打实的参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main…… 题解列表 2025年07月04日 0 点赞 0 评论 31 浏览 评分:0.0
结构体之时间设计 摘要:```#include using namespace std;struct Date { int day, month, year;};int main() {…… 题解列表 2025年07月02日 1 点赞 0 评论 39 浏览 评分:0.0
报数问题(约瑟夫环问题) 摘要:```#include #include using namespace std;int findLastPerson (int n){ if(n1){ …… 题解列表 2025年07月02日 0 点赞 0 评论 42 浏览 评分:0.0
2998: 电影票 摘要:解题思路:人数*10注意事项:需要输出空格。参考代码:#include<bits/stdc++.h>using namespace std;int main(){&…… 题解列表 2025年06月29日 0 点赞 1 评论 47 浏览 评分:0.0
c语言解决 小九九 题号1671 摘要:解题思路:For循环嵌套do while循环,再嵌套if-else判断。注意事项:在做这个题目中最主要其实就是需要每个左对齐,我之前尝试了别的方法,比如增加/t缩进等,但最后还是发现,直接判断敲空格是…… 题解列表 2025年06月26日 0 点赞 0 评论 149 浏览 评分:0.0
分数线的划定很容易,就像她跟我划清界限一样 摘要:#include <stdio.h>#include <math.h>typedef struct{ &nbs…… 题解列表 2025年06月17日 3 点赞 1 评论 225 浏览 评分:10.0
每个数的个数(cx12h) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;map<int,int>mp;int main(){ int…… 题解列表 2025年06月17日 0 点赞 0 评论 139 浏览 评分:0.0
s01串(cx12g) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,c; s="0&qu…… 题解列表 2025年06月17日 0 点赞 0 评论 128 浏览 评分:0.0
代码要求基础,新手就能懂 摘要:解题思路:自己看注意事项:没有参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char str[3][10…… 题解列表 2025年06月17日 2 点赞 1 评论 206 浏览 评分:10.0