感觉你们应该可以看懂,有两种药方 摘要:解题思路:注意事项:参考代码://方法一:#include <stdio.h>#include<string.h> void q(char x[100],int y[4]){ int len=0; …… 题解列表 2024年11月22日 0 点赞 0 评论 945 浏览 评分:10.0
For循环解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[3],t; for (i = 0;i < 3;i++) { scanf("%d",&a[i]…… 题解列表 2024年11月21日 0 点赞 0 评论 407 浏览 评分:0.0
2048: 多重背包一眼丁真 摘要:解题思路: 在01背包的基础上再套多一层循环以表示该物品的个数注意事项:参考代码:#include<stdio.h> #define max(x,y) ((x)>(y)?(x):(y)…… 题解列表 2024年11月21日 0 点赞 0 评论 373 浏览 评分:0.0
无虑,无悔,无题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m; scanf("%d",&m); switch (m){ case 1 : case 2 :prin…… 题解列表 2024年11月21日 0 点赞 0 评论 503 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c);if(a*a+b*b==c*c||b*b+c…… 题解列表 2024年11月21日 0 点赞 0 评论 456 浏览 评分:0.0
利用math中的求余 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double a, b, r;int main() { scanf("%lf%lf", &a, &b…… 题解列表 2024年11月21日 0 点赞 0 评论 639 浏览 评分:0.0
最简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>#include <string.h>int main(){ char a[80]; …… 题解列表 2024年11月21日 0 点赞 0 评论 758 浏览 评分:0.0
1915无题.。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a[666],b; for (int i = 0;i < 3;i++…… 题解列表 2024年11月21日 0 点赞 0 评论 442 浏览 评分:0.0
良心出品,放心食用 摘要:解题思路:这段代码定义了一个数组 A ,并通过循环计算出 N 在一定范围内(小于 55)时对应的某种数量值 A[N - 1] ,然后根据输入的 N 值输出相应的结果。在代码中,首先初始…… 题解列表 2024年11月21日 1 点赞 0 评论 505 浏览 评分:10.0
已是最短了,请放心食用 摘要:解题思路注意事项:参考代码:#include<stdio.h>#include<string.h>int PalindromeString(char *s)//写一个函数来得到每一轮的结果,返回一个…… 题解列表 2024年11月21日 0 点赞 0 评论 684 浏览 评分:0.0