题解列表

筛选

C语言训练-尼科彻斯定理

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m; c……

C语言训练-委派任务*

摘要:解题思路:深搜递归注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; co……

弟弟的作业(纯C++代码,不使用scanf)

摘要:解题思路:用while循环读取输入的算式,直到读取到空行,查找并记录运算符‘+’或者‘-’以及‘=’在字符串s中的位置,通过这两个位置,对字符串进行切片操作,最后进行判断。注意事项: 运用到了#inc……

c语言代码,最长公共子序列

摘要:关于最长公共子序列讲解的相关链接,因为我自己讲不明白 [https://blog.csdn.net/hrn1216/article/details/51534607](https://blog.cs……

C语言训练-亲密数

摘要:解题思路: 哈希注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; const int N = 3e3 + 10;……

1118: Tom数 C++

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { long long n; while(cin >>……