The API: int read4(char *buf) reads 4 characters at a time from a file.
The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the ...
传送门
思路题,卡空间
摩尔投票法
Code:#include <bits/stdc++.h>
using namespace std;
#define INF 0x3f3f3f3f
#define N 100010
#define ll long long
// #define int long long
inline int read() {
...
This is the first time for me to log the issue in the blog. I finally choose English, for I want to improve the skill of communication , then I will try to join the community of stackoverflo...