摘要:
这次网络赛没有打。生病了去医院了。。尴尬。晚上回来才看了题补简单题。 K Supreme Number 题目链接:https://nanti.jisuanke.com/t/31452 题意:输入一个整数n(其实可以当成字符串,因为很长啊。),求满足不超过n的supreme number。这个supr 阅读全文
摘要:
快速排序思想和C++的差不多,主要是通过写排序对python的语法更加了解。 # 快速排序 def qsort(arr, left, right): if left >= right: return arr x = arr[left] l = left r = right while left < 阅读全文
摘要:
废话不多说直接上板子吧。 Prim 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 const int maxn=1001; 5 using namespace std; 6 7 int c,n,m; 8 int map[m 阅读全文