题解列表

筛选

P1002 (C++代码)

摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using……

文科生的悲哀 (C++代码)

摘要:解题思路:        斐波那契数列#include<bits/stdc++.h> using namespace std; typedef long long ll; int main()……

排列 (C++代码)

摘要:#include<stdio.h> #include<iostream> #include<string> #include<algorithm> #include<cmath> using……

【回文数(二)】 (C++代码)

摘要:解题思路: 是进制加法,不是转换为进制再加                                      &nb

生日日数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[12]={31,28,31,30,31,30,3……

求两个集合交集 (C语言代码)

摘要:解题思路:     先将集合A、B的元素升序排列,然后使用i,j两指针逐个比对集合A、B的元素取交集,结果也为升序。     示意图:(求交集C)    参考代码:#include<stdio.h>……