摘要:
基数排序 1 const int N = 1e5 + 10; 2 int n, a[N]; 3 4 void radix_sort(unsigned int *a, int l, int r) 5 { 6 const unsigned int D = 1 << 16, k = D - 1; 7 st 阅读全文
摘要:
1、Codeforces Round #775 (Div. 2, based on Moscow Open Olympiad in Informatics) A 注意最多只能跳一次。 1 const int N = 110; 2 int t, n, l, r, a[N]; 3 4 int main( 阅读全文