用二叉树的思想进行减枝 摘要:解题思路:注意事项:参考代码:#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 评论 263 浏览 评分:9.9
编写题解 2909: 直方图 摘要:解题思路:写代码里了注意事项:写代码里了参考代码:#include<stdio.h>int main(){ int n,s=-1,i; scanf("%d",&n); int num…… 题解列表 2024年11月14日 0 点赞 0 评论 192 浏览 评分:9.9
偷老师的思路,再稍微修改一下 摘要:解题思路:一直存值到别的数就行了注意事项:参考代码:#include <stdio.h>//一直把数据存放到别的数中 int main() { double n,a=2,i,s=2,b=1.0,t; …… 题解列表 2024年11月14日 1 点赞 1 评论 447 浏览 评分:9.9
只用了for循环和冒泡排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define N 10int main(){ int a[N]; in…… 题解列表 2024年11月14日 0 点赞 0 评论 366 浏览 评分:9.9
一直83直到我把输出-1的语句放在外面 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,count=0; cin>>n; for(int i=1…… 题解列表 2024年11月14日 1 点赞 0 评论 310 浏览 评分:9.9
信息学奥赛一本通T1440-数的划分,思路清晰暴力! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, k, jjj = 0; // n: 目标…… 题解列表 2024年11月15日 0 点赞 0 评论 373 浏览 评分:9.9
初学者的写法 摘要:解题思路: 无脑if else注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; …… 题解列表 2024年11月15日 1 点赞 0 评论 998 浏览 评分:9.9
没用strcat,用的gets和puts, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lianj(char f1[],char f2[]){ int k,i,p; …… 题解列表 2024年11月15日 0 点赞 0 评论 261 浏览 评分:9.9
无虑,无悔,无题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ char a; scanf("%c",&a); printf("%d\n",a); return 0;}…… 题解列表 2024年11月15日 0 点赞 0 评论 304 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;void find(string s){ for (int i=0;s[i]!='\…… 题解列表 2024年11月15日 1 点赞 0 评论 304 浏览 评分:9.9