偷老师的思路,再稍微修改一下 摘要:解题思路:一直存值到别的数就行了注意事项:参考代码:#include <stdio.h>//一直把数据存放到别的数中 int main() { double n,a=2,i,s=2,b=1.0,t; …… 题解列表 2024年11月14日 3 点赞 1 评论 831 浏览 评分:9.9
编写题解 2909: 直方图 摘要:解题思路:写代码里了注意事项:写代码里了参考代码:#include<stdio.h>int main(){ int n,s=-1,i; scanf("%d",&n); int num…… 题解列表 2024年11月14日 0 点赞 0 评论 494 浏览 评分:9.9
用二叉树的思想进行减枝 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int asd(int a);int main(){ int m,a,b,i,j,e=0; scanf(…… 题解列表 2024年11月14日 1 点赞 1 评论 555 浏览 评分:9.9
STL map解法 和为给定数 摘要:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7 + 10;ll num[N];ma…… 题解列表 2024年11月14日 0 点赞 0 评论 395 浏览 评分:0.0
2875: 回文子串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main( ){ char s[501]={0}; int n,len,beg…… 题解列表 2024年11月14日 0 点赞 0 评论 520 浏览 评分:10.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b=1; scanf("%d",&a); for(i=1;i<a;i++) …… 题解列表 2024年11月13日 0 点赞 0 评论 472 浏览 评分:0.0
有详细解题思考方向,执果索因, 随便写啦 解题思路:观察题目给出的具体输出例子,有正三角形,倒三角形,空格(正三角形前面有空格,两个三角形中间也有空格)先分别写一下正三角形和倒三角形输出代码,要求两个代码限制循环的条件相同,用具体的例子,然后再抽象出行数和空格的规律(建议,可以把空格用0代替, 题解列表 2024年11月13日 1 点赞 0 评论 513 浏览 评分:0.0
高中不会的题现在终于解决了!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; float a,b,m,n; scanf("%f…… 题解列表 2024年11月13日 0 点赞 0 评论 393 浏览 评分:0.0
看不懂直接喷 摘要:解题思路:对于换行符的完美运用注意事项:参考代码:#include <stdio.h>int main() { float i,a; scanf("%f",&a); for(i=0;i<1;i++){…… 题解列表 2024年11月13日 0 点赞 0 评论 784 浏览 评分:6.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x=1,y=1,a; int b,i; scanf("%d",&b); fo…… 题解列表 2024年11月13日 0 点赞 0 评论 517 浏览 评分:0.0