题解列表

筛选

1246: 第几天

摘要:```cpp #include using namespace std; int arr[12]={31,28,31,30,31,30,31,31,30,31,30,31},sum=0; in……

1866: 三位数反转(Python)

摘要:解题思路:注意事项:参考代码:while True:     try:         n = input()         m = n[::-1]         

分解因数(暴搜)

摘要:解题思路:暴力搜索,满足条件则方案+1 参考代码: ```cpp #include using namespace std; #define ll long long const int ……

666666666666666666

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

我写代码真的很菜

摘要:解题思路:看注释就行注意事项:参考代码:import java.util.Scanner;public class Main {    static boolean[][] vis;  // 标记数组……

for嵌套循环打印九九乘法表

摘要:# 打印九九乘法表 用for的嵌套循环 为了符合格式要求,需要设置左对齐,还要调整字段宽度 注意width()方法只影响接下来显示的一个项目,然后将恢复为默认值 ###参考代码: ```cp……
优质题解

最长上升子序列(贪心+二分)

摘要:线性DP(O(n^2)):[传送门](https://blog.dotcpp.com/a/91960 "动态规划") ------------ ## 贪心+二分(nlogn) ##### *……