题解列表

筛选

剔除相关数 (C++代码)直接暴力了__可AC

摘要:解题思路:我的想法比较简单,对于输入的每个数进行长度判断,如123的长度是3,23的长度是2,如果两个数的长度不相等,那么就一定不是相关数了;如果长度相等也不一定是相关数,我们还要判断该数与另一个数子……

三角形 (C++代码)(DP)

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

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() ……