(c语言) 演讲大赛评分 摘要:```c //思路:将第一个分数与后六个分数的输入分开处理,就能使用“!=EOF ”来作为结束标志了 //注意:输出名字后记得加空格 //ps:本来想把输入部分放在自己定义的函数里进行(就这个形…… 题解列表 2022年02月05日 0 点赞 0 评论 445 浏览 评分:0.0
Hifipsysta-1160题-出圈(C++代码)基于STL的链表实现 摘要:```cpp #include #include using namespace std; list mylist; list::iterator iter; int main()…… 题解列表 2022年02月05日 0 点赞 0 评论 257 浏览 评分:0.0
两个链表合并C语言 摘要:解题思路:phead1 phead2来接受两个链表,phead3来合并注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct student …… 题解列表 2022年02月05日 0 点赞 0 评论 368 浏览 评分:9.9
1118: Tom数(python) 摘要:解题思路:注意事项:参考代码:while(True): a=input() sum=0 for i in a: sum+=int(i) print(sum)…… 题解列表 2022年02月05日 0 点赞 0 评论 617 浏览 评分:9.9
做题记录2022.2.5(ac:100%) 摘要:解题思路:总交换次数最少->每个位置交换次数最少->找到离不同字母位置最近的相同字母注意事项:参考代码:length = int(input()) list1 = list(input().stri…… 题解列表 2022年02月05日 0 点赞 0 评论 350 浏览 评分:0.0
python-小朋友崇拜圈 摘要:解题思路:①准备工作: 用字典存放对应小朋友编号以及他崇拜的小朋友的编号 建立一个大小为n+1的访问数组,用来表示这个小朋友是否已经被访问过。②从编号1~N进行遍历 首先判断编号为i…… 题解列表 2022年02月05日 0 点赞 0 评论 457 浏览 评分:4.7
核电站问题(根据前四个样例摸清楚答案规律) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>using namespace std;int main(){ …… 题解列表 2022年02月05日 0 点赞 0 评论 217 浏览 评分:9.9
杨辉三角(相当于一个矩阵的下三角,利用矩阵的知识就可以了) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int num[30][30] = { 1 }; int main(){ int n;…… 题解列表 2022年02月05日 0 点赞 0 评论 166 浏览 评分:0.0
题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:1.将 String 转为 StringBuilder2.使用 StringBuilder 自带的 reverse() 方法倒置字符串3.使用构造方法 String() 将倒置后的字符串转化…… 题解列表 2022年02月05日 0 点赞 0 评论 486 浏览 评分:9.9
Hifipsysta-1180-不容易系列(C++代码)递归法 摘要:```cpp #include using namespace std; int a_(int n){ if(n==0){ return 3; } …… 题解列表 2022年02月05日 0 点赞 0 评论 273 浏览 评分:0.0