题解 2801: 奇数求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c=0,d; cin>>a>>b; if(a…… 题解列表 2023年11月08日 0 点赞 0 评论 309 浏览 评分:9.9
题解 2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int z,f=0,b,c=0; cin>>b>>z; f=…… 题解列表 2023年11月08日 0 点赞 0 评论 413 浏览 评分:9.9
3077: 信息学奥赛一本通T1332-周末舞会 摘要:``` #include using namespace std; int main(){ int m,w,a; cin>>m>>w>>a; int b=0,c=0; for(…… 题解列表 2023年11月08日 0 点赞 0 评论 484 浏览 评分:9.9
Python运行超时,直接投靠Java 摘要:解题思路: 将我的Python代码给gpt翻译成Java即可。注意事项: 注意int变成long,不然第九题是错的。参考代码:import java.util.*; public c…… 题解列表 2023年11月08日 0 点赞 0 评论 1050 浏览 评分:9.9
简单用法“建议新手观看” 摘要:解题思路:注意事项:参考代码:n=int(input())a=1b=0c=1for i in range(1,n+1): c+=1 b=a print(a,end=" ") f…… 题解列表 2023年11月08日 0 点赞 0 评论 377 浏览 评分:9.9
优质题解 团伙--详细解答(不知道怎么处理敌人关系的进来) 摘要:解题思路:1、该题的思想就是并查集,但是有点不同,就是要记录敌人关系,所以要想办法来记录一下敌人的关系2、我这里初始化2n长度的数组,前n个记录朋友关系,后n个记录敌人关系3、重点理解题目说的一句话:…… 题解列表 2023年11月08日 0 点赞 0 评论 718 浏览 评分:9.9
水仙花数判断简单易懂(c语言详细代码) 摘要:解题思路:首先拿到所有三位数,再将每个三位数拆分算出立方和,最后 比较输出水仙花数注意事项:参考代码:#include<stdio.h> #include<math.h> int main() {…… 题解列表 2023年11月09日 0 点赞 0 评论 305 浏览 评分:9.9
[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; gets(a); for (int…… 题解列表 2023年11月09日 0 点赞 0 评论 232 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ string name; doubl…… 题解列表 2023年11月09日 0 点赞 0 评论 713 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[600];int main(){ int n=0; in…… 题解列表 2023年11月09日 0 点赞 2 评论 384 浏览 评分:9.9