[亲和数]-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int n; cin>>n; while(n--){ …… 题解列表 2020年04月17日 0 点赞 0 评论 579 浏览 评分:0.0
[偶数求和]-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int n,m; while(cin>>n>>m){ in…… 题解列表 2020年04月17日 0 点赞 0 评论 606 浏览 评分:0.0
吹哨传球-题解(C语言代码) 摘要://利用动态规划: int main() { int n,m; scanf("%d%d",&n,&m); int dp[m+1][n];//第m次恰好传到第n个人手里 …… 题解列表 2020年04月17日 0 点赞 0 评论 800 浏览 评分:0.0
剔除相关数-题解(C++代码) 摘要:```cpp #include #include using namespace std; bool cmp(string a,string b){ return a.compare…… 题解列表 2020年04月17日 0 点赞 0 评论 777 浏览 评分:0.0
蓝桥杯基础练习VIP-Huffuman树-题解(Java代码) 摘要:```java 这题主要是我不知道可以用Collections可以对集合排序就写的比较复杂了,因为采用的是java,所以就没有使用C++的动态数组的方法了。 public static void …… 题解列表 2020年04月18日 0 点赞 0 评论 644 浏览 评分:0.0
数字整除-题解(Python代码) 摘要:这种贼大的数,还是Python来的快且简单。。。。 ```python while True: num = int(input()) if num == 0: …… 题解列表 2020年04月18日 0 点赞 0 评论 621 浏览 评分:0.0
字符逆序-题解(C语言代码) 摘要:```c #include #include int main() { char s[101]; gets(s); for(int i=strlen(s)-1;i>=0;i--…… 题解列表 2020年04月18日 0 点赞 0 评论 577 浏览 评分:0.0
最小公倍数-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int a,b; cin>>a>>b; if(a…… 题解列表 2020年04月18日 0 点赞 0 评论 707 浏览 评分:0.0
杨辉三角-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int n; while(cin>>n){ int p[n…… 题解列表 2020年04月18日 0 点赞 0 评论 607 浏览 评分:0.0
查找最大元素-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ string a; while(cin>>a){ //找到…… 题解列表 2020年04月18日 0 点赞 0 评论 632 浏览 评分:0.0