摘要:
1 class Solution { 2 public: 3 const int N=1e5+5; 4 vector<long long> getDistances(vector<int>& arr) { 5 int n=arr.size(); 6 vector<int>v[N]; 7 vector 阅读全文
posted @ 2021-12-30 17:53
matt-11
阅读(42)
评论(0)
推荐(0)
摘要:
1 class Solution { 2 public: 3 vector<int> recoverArray(vector<int>& nums) { 4 multiset<int>s; 5 int n=nums.size(); 6 sort(nums.begin(),nums.end()); 7 阅读全文
posted @ 2021-12-30 17:41
matt-11
阅读(51)
评论(0)
推荐(0)
摘要:
1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e3+5; 4 int px[N],py[N],x[N],y[N],r[N]; 5 bitset<N>bt[N],t; 6 long long pow_x(int x) 7 阅读全文
posted @ 2021-12-30 15:36
matt-11
阅读(51)
评论(0)
推荐(0)
摘要:
1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int main() 5 { 6 int n,ans=0; 7 cin>>n; 8 for(int i=1;i<=(1<<9);i++)//10位数,考虑每位取0.1转成2进制表示 9 { 10 阅读全文
posted @ 2021-12-30 15:04
matt-11
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号