摘要:
#include<iostream> #include<vector> #include<algorithm> #define x first #define y second #define pll pair<int,int> using namespace std; int main() { v 阅读全文
posted @ 2023-05-23 15:04
刘海烽
阅读(120)
评论(0)
推荐(0)
摘要:
/* * @Description: To iterate is human, to recurse divine. * @Autor: Recursion * @Date: 2022-05-16 22:59:39 * @LastEditTime: 2022-05-16 23:27:17 */ #i 阅读全文
posted @ 2023-05-23 15:03
刘海烽
阅读(62)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int arr[500010],temp[500010]; long long ans; //记录逆序的组数 //归并排序 void merge_sort(int arr[], int temp[], int left, 阅读全文
posted @ 2023-05-23 15:02
刘海烽
阅读(83)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> using namespace std; /* * 1 6 -45 22 42 -16 -41 -27 56 30 -36 53 -37 77 -36 30 -75 -46 26 -38 -10 62 -32 -54 -6 45 */ int main 阅读全文
posted @ 2023-05-23 15:01
刘海烽
阅读(81)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int arr[100010]; int main() { int n; cin >> n; int i; for (i = 1; i <= n; i++) { cin >> arr[i]; //输入非降序列 } int 阅读全文
posted @ 2023-05-23 15:00
刘海烽
阅读(69)
评论(0)
推荐(0)

浙公网安备 33010602011771号