题解列表
python版本题解
摘要:解题思路:条件判断注意事项:这里自己写了一个四舍五入,直接用int也一样参考代码:s = int(input())def round(x): x = str(x) if x[x.index……
1159: 偶数求和(简洁版本)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n=0,m=0,i; while(scanf("%d%……
链表问题,可自己搭建链表也可直接用stl
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n;cin >> n; list<int>node;……
编写删除相同的单词函数+冒泡法排序函数
摘要:解题思路:先删除相同字母,再排序,最后进行输出注意事项:参考代码:#include<stdio.h>#include<string.h>//删除重复的单词int dele(char str[][55……
编写题解 2924: 明明的随机数c语言
摘要:解题思路:编写删除重复数字的函数+排序的函数注意事项:dele函数中,要有j--!因为第一个移动的数字还没有与a[i]比较,j--之后a[i]可以与第一个移动的数字比较。如果没有j--,只适用于有两个……