answer question 摘要:解题思路:anwer the whole question is answer like usual persnaly my own opinion is to caoculate the selut…… 题解列表 2022年07月16日 0 点赞 1 评论 223 浏览 评分:7.3
二级C语言-自定义函数 c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;double a[10005];double b[10005];double ans…… 题解列表 2022年07月22日 0 点赞 1 评论 273 浏览 评分:7.3
简单的a+b(c++代码) 摘要:解题思路:注意事项:参考代码:解法一:#include <cstdio> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF)//也可以写成whil…… 题解列表 2022年07月27日 0 点赞 0 评论 693 浏览 评分:7.3
神奇的fansC++必过题解 摘要:解题思路:排序后判断注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;int main() { bool d=1; int c=0,i,j,…… 题解列表 2022年07月29日 0 点赞 0 评论 394 浏览 评分:7.3
信息学奥赛一本通T1290-采药(01背包) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int MAX = 1001;int T, M;int t[MAX], …… 题解列表 2022年07月29日 0 点赞 0 评论 751 浏览 评分:7.3
列表储存运算 摘要:解题思路:第一行应付格式注意事项:参考代码:n=input() a=list(map(int,input().split())) b=0 for i in a: if i%2==0: …… 题解列表 2022年08月05日 0 点赞 0 评论 373 浏览 评分:7.3
编写题解 1053: 二级C语言-平均值计算(简单易懂的解题方法python) 摘要:解题思路:通过列表的广泛性解题的思路会更加宽阔。注意事项:熟练列表的使用参考代码:a=list(map(int,input().split())) //通过列表同时输入多个值,此时为列表形式 co…… 题解列表 2022年08月10日 0 点赞 0 评论 918 浏览 评分:7.3
1053 简单的解法 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:#include<stdio.h>int main(){ int sum=0;//定义 int i,a[11],b=0,c…… 题解列表 2022年08月14日 0 点赞 2 评论 820 浏览 评分:7.3
时间复杂度O(n) 摘要:解题思路:就是分成一层一层的(以高度为1为最底层),每一层需要砍的次数之和就是答案,显然最大不超过64层(long long的上限),所以时间复杂度就是O(n),系数最大不超过64注意事项:参考代码:…… 题解列表 2022年08月21日 0 点赞 0 评论 896 浏览 评分:7.3
质因数分解的模板题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll n,ans;void getans(…… 题解列表 2022年08月24日 0 点赞 0 评论 858 浏览 评分:7.3