题解列表

筛选

1130一行解(Python)

摘要:解题思路:用内置函数解决问题,站在巨人的肩膀上不用再造轮子了注意事项:filter()用于筛选符合条件的对象元素,在Python中若为判断条件为True,则添加入filter类型中,用list类型打印……

2963: Tomorrow never knows?

摘要:输入的时候‘-’可以用getchar直接屏蔽掉 ```cpp #include #include using namespace std; bool IsLeapYear(int year)……

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