摘要:
描述A city is served by a number of fire stations. Some residents have complained that the distance from their houses to the nearest station is too far, 阅读全文
摘要:
描述Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. F 阅读全文
摘要:
BIT+离散化 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 using namespace std; 5 int n,a[500010]; 6 int num[500010]; 7 long long ans; 8 s 阅读全文
摘要:
Problem You are given an N x N matrix with 0 and 1 values. You can swap any two adjacent rows of the matrix. Your goal is to have all the 1 values in 阅读全文