2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; long long int sum…… 题解列表 2025年08月06日 0 点赞 0 评论 443 浏览 评分:0.0
编写题解 1075: 台球碰撞(注释清晰 简单易懂) 摘要: #include #include #define PI 3.141592653589793 int main() { double L, W, x, y, R, a, v, …… 题解列表 2025年08月06日 0 点赞 0 评论 599 浏览 评分:10.0
题目 2808: 买房子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N, K; double house_…… 题解列表 2025年08月06日 0 点赞 0 评论 422 浏览 评分:0.0
2025/8/3刷题记录 摘要:解题思路:外层循环通过n控制循环累加次数 内存循环求每次外层循环的n! e进行每一次结果的累加注意事项:参考代码:#include<stdio.h>int main(){&nb…… 题解列表 2025年08月03日 0 点赞 0 评论 406 浏览 评分:0.0
2025/8/3刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月03日 0 点赞 0 评论 320 浏览 评分:0.0
2025/8/3刷题记录 摘要:解题思路:通过sum记录累加和 int c记录原始b b=a+b后保证 a能赋值原始b注意事项:参考代码:#include<stdio.h>int main(){ …… 题解列表 2025年08月03日 0 点赞 0 评论 353 浏览 评分:0.0
C语言写这题不能用scanf 摘要:解题思路:注意事项:测试的数据中有空格,使用scanf不能识别空格。要使用gets或者别的支持空格的。参考代码:```c#include<stdio.h>#include&…… 题解列表 2025年08月02日 3 点赞 0 评论 436 浏览 评分:10.0
编写题解 2954: 大整数乘法(注释清晰 简单易懂) 摘要: #include #include #include // 反转字符串 void reverseString(char *str) { int len = st…… 题解列表 2025年08月02日 0 点赞 0 评论 446 浏览 评分:0.0
简洁且严谨的C语言解法(纠高分答案) 解题思路:多层嵌套for循环,目测是最简洁的思路之一注意事项:七进制和九进制对三位数都有要求,取小的七进制(交集),三个数都小于等于6.注意位置,由于a和c都做过3位数的最高位,所以其范围都是从1开始;b在中间,可以取0.x和y要在最内层循环定义.参考代码:#includeintma 题解列表 2025年08月02日 2 点赞 0 评论 458 浏览 评分:10.0
2799 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,gold,silver,bronze,sum=0,sum_go…… 题解列表 2025年08月02日 1 点赞 0 评论 437 浏览 评分:10.0