题解列表

筛选

1080: 战场的数目

摘要:```cpp #include #include using namespace std; typedef long long LL; const LL mod=987654321; LL……

耗的时间有点多

摘要:解题思路:注意事项:参考代码:c=[] for i in range(1000,10000):     a=int(i/100)     b=int(i%100)     if (a+b)**……

求大佬只指点

摘要:```c #include #include int main() { int M;//定义输入M scanf("%d", &M); int i; int type[200] ……

字符串逆序

摘要:解题思路:注意事项:参考代码:n=95859 while True:     n+=1     a=str(n)     b=a[::-1]     if a==b:         pr……

时间复杂度O(1)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll a,b,n,ans;int main……

求大佬指点---查重与排序

摘要:```c //思路:输入->查重->排序->输出; #include int main() { int M; scanf("%d", &M); int a[200];//可以用动态……