题解列表

筛选

连连看Python

摘要:n,m=map(int,input().strip().split())num=[list(map(int,input().split()))for _ in range(n)]sum=0……

动态窗口1111111

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,k; cin>>n>……

用vector来写

摘要:#includeusing namespace std;int main(){ vector vec; int n,num; for(int i=0;i>num;……

能量项链 - dp

摘要:解题思路:处理环形结构:将环形项链"展开"成线性结构,通过复制一份数组来处理&nbs……

1035 字符类型统计

摘要:解题思路:#include<stdio.h>#include<ctype.h>int letters=0,digits=0,spaces=0,others=0;void cou……

1034 数字分离

摘要:解题思路:定义函数,将四位数变成字符串,遍历,打印下来注意事项:参考代码:#include<stdio.h>//将一个四位数以空格分隔void aim(int num){ ch……