题解列表

筛选

验证子串(二种方法)

摘要:解题思路:注意事项:参考代码:第一种强行解题,硬解:#include<stdio.h> #include<string.h> int main() { char a[200]; char……

2973: 出现次数超过一半的数

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

2917: 奇数单增序列

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

1720: 数据结构-基数排序

摘要:解题思路:注意事项:参考代码://sort排序#include <bits/stdc++.h>using namespace std;int a[100005];int main(){    int ……

判断第几天C++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool IsLeapYear(int year)//用来判断是否是闰年{     if (y……

弟弟的作业(C语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[20]; int sum=0; whi……