循环入门练习5(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i; cin>>n; …… 题解列表 2022年10月30日 0 点赞 0 评论 413 浏览 评分:9.9
循环入门练习4(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,s=0; cin>>n…… 题解列表 2022年10月30日 0 点赞 0 评论 419 浏览 评分:9.9
循环入门练习3(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,i,s=0; cin>>n; for(i…… 题解列表 2022年10月30日 0 点赞 0 评论 311 浏览 评分:9.9
循环入门练习2(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int s=0; for(int i=…… 题解列表 2022年10月30日 1 点赞 0 评论 648 浏览 评分:9.9
邻接表两次DFS求树的直径(不会内存超限) 摘要:package lqb.fs; import java.util.ArrayList; import java.util.Scanner; //树的直径使用两次df来求:第一次用dfs从…… 题解列表 2022年10月30日 0 点赞 1 评论 266 浏览 评分:9.9
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,s; char c; int h=0,k; while((k=scanf…… 题解列表 2022年10月30日 0 点赞 0 评论 225 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],i,d,k,j,t=-1,b[100],w,r; scanf ("%d",&d…… 题解列表 2022年10月30日 0 点赞 0 评论 225 浏览 评分:9.9
二级C语言-进制转换python 摘要:解题思路:注意事项:参考代码:m = int(input())s = oct(m)s = s[2:]print(s)…… 题解列表 2022年10月30日 0 点赞 0 评论 510 浏览 评分:9.9
编写题解 1676: 数据结构-链表的基本操作 摘要:### 使用结构体存数据和地址  ```cpp typedef struct…… 题解列表 2022年10月30日 0 点赞 0 评论 299 浏览 评分:0.0
最简单解法,一看就会,不会的找我。 摘要:解题思路:注意事项:注意找到h,s和i的关系,一定要看清楚题目,总共经过的路程是,第N次落地的路程,就是说不包括第N次反弹的高度参考代码:#include<stdio.h>#include<math.…… 题解列表 2022年10月30日 0 点赞 1 评论 215 浏览 评分:9.9