题解列表

筛选

数字统计-题解(Python代码)

```pythonnum=int(input())list1=[0,0,0,0,0,0,0,0,0,0]foriinrange(1,num+1):#之前是循环到i>=1,但是提交后超时了。#所以当i<10后,就直接写入数组whilei>=10:m=i%10list1[m]+=1i=int(i/10)i

数列排序-题解(Python代码)

摘要:```python num = int(input()) while num > 0: ipt = input().split() # 创建列表list1,用于存放排序后的元素 ……

连环阵-题解(C++代码)

#连环阵##题目链接:[https://www.dotcpp.com/oj/problem2111.html](https://www.dotcpp.com/oj/problem2111.html)##题目简介:###题目描述>杰洛特主动出击狂猎的老巢,

排列-题解(Python代码)

摘要:```python import itertools count = int(input()) while count > 0: ipt = input() # 每个数字之间有一个……

增添战力-题解(C++代码)

#增添战力##题目链接[https://www.dotcpp.com/oj/problem2109.html](https://www.dotcpp.com/oj/problem2109.html)##题目简介###题目描述大战即将来临,杰洛特需要为自己增添战斗力,

通分-题解(C++代码)

摘要:```cpp #include using namespace std; int main(){ long long a,b,c,d; cin>>a>>b>>c>>d; ……