题解列表

筛选

线段的总长(枚举)

摘要:解题思路:暴力注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint……

最大质因数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intfac(int……

2025/7/28刷题记录

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num ; scanf("%d……

2025/7/28刷题记录

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int R,M,Y; scanf("%……

2025/7/28刷题记录

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,m; scanf("%d ……

C语言解法递归方法

摘要:#include <stdio.h>int sum;int fun(int n){ if(n/3==0) return n; else { sum+=n/3; fun(n/3+n%3……