c代码记录之角谷猜想-C 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int deal(int m){ if(m%2==0){ printf("%d/2=%d\n",m,…… 题解列表 2023年11月14日 0 点赞 0 评论 98 浏览 评分:0.0
题解 3014: 计算星期几 摘要: #include using namespace std; int main(){ long long a,b,c,d=1; cin>>a>>b; …… 题解列表 2023年11月14日 0 点赞 0 评论 211 浏览 评分:0.0
2824: 求出e的值 摘要:#求e的值 ##题解 一层循环定义累加 二层循环定义另一个数 最后相除 ``` #include using namespace std; int main(){ int m; …… 题解列表 2023年11月14日 0 点赞 0 评论 195 浏览 评分:0.0
题解 3015: 幂的末尾 摘要: #include using namespace std; int main(){ int a,b,c=1000,z=1; cin>>a>>b;…… 题解列表 2023年11月14日 0 点赞 0 评论 156 浏览 评分:0.0
1234: 检查一个数是否为质数 摘要:``` #include using namespace std; int main() { int n; cin >> n; for (int i = 2; i …… 题解列表 2023年11月14日 0 点赞 0 评论 164 浏览 评分:0.0
题解 3016: 第几项 摘要: #include using namespace std; int main(){ int i=0,a,b,c; cin>>b; for…… 题解列表 2023年11月14日 0 点赞 0 评论 174 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define N 202#define M 5002int dp[N][M];int weight…… 题解列表 2023年11月14日 0 点赞 0 评论 372 浏览 评分:0.0
最简单易懂,看不懂你来打我! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,min,max; int x,y; scanf("%d%d",&m,&n); i…… 题解列表 2023年11月14日 0 点赞 0 评论 118 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数(C语言) 摘要:解题思路:注意事项:参考代码:方法一:#include<stdio.h>int main(){ int m,n,a,b; scanf("%d %d",&m,&n); a=m; …… 题解列表 2023年11月15日 0 点赞 0 评论 141 浏览 评分:0.0