跳到正文

WangNONO

750137

60+45+30>100+15+15

这是 2026年11月11日 存档的第 2 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
750137
抓取

奖项

2025 CSP-J
一等奖
400 分 · 第 1 名
2025 CSP-S
一等奖
217 分 · 第 1865 名

版本

  1. v3当前
  2. v2
  3. v1

壹·编译环境 & 缺省源

编译环境
C++
-std=c++14 -O2 -Wl,--stack=1073741824

线段树头文件 bits/extc++.h

缺省源
C++
// By wnn
#include<bits/stdc++.h>
//#include<ext/pb_ds/assoc_container.hpp>
//#include<ext/pb_ds/priority_queue.hpp>
//#include<ext/pb_ds/exception.hpp>
//#include<ext/pb_ds/hash_policy.hpp>
//#include<ext/pb_ds/list_update_policy.hpp>
//#include<ext/pb_ds/tree_policy.hpp>
//#include<ext/pb_ds/trie_policy.hpp>
//using namespace __gnu_pbds;
using namespace std;

// #define int long long
namespace OI{
	namespace Simple_name{
		#define myfreopen freopen(".in", "r", stdin),freopen(".out", "w", stdout)
		using ll = long long;
		using db = double;
		using ull = unsigned long long;
		using pdd = pair<db, db>;
		using pii = pair<int, int>;
		using pll = pair<ll, ll>;
		#define pq priority_queue
		#define rep(i,a,b) for(int i=(a),i##_end=(b);i<=i##_end;++i)
		#define dep(i,a,b) for(int i=(a),i##_end=(b);i>=i##_end;--i)
		#define x1 x_1
		#define y1 y_1
		#define fir first
		#define sec second
		#define pb push_back
		#define I_love_you ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
	}
	using namespace Simple_name;
	namespace Val{
		#define eps 1e-9
		#define inf32 0x3f3f3f3f
		#define inf64 0x3f3f3f3f3f3f3f3fll
		#define mod1 (int)(1e9 + 7)
		#define mod2 998244353
		#define PI acos(-1.0)
		#define db_e (double)(2.71828182845904523536028)
	}
	using namespace Val;
	namespace Function{
		#define ls(x) (x << 1)
		#define rs(x) ((x << 1) | 1)
		#define mid(l, r) ((l + r) >> 1)
		#define debug(x) cerr<<#x<<"="<<x<<endl
		#define log(x, y) (log2(y) / log2(x)) // 以x为底y的对数
		#define WA cerr << "Wrong Answer" << endl
		#define init_inf32(x) memset(x, 0x3f, sizeof(x))
		#define init_inf64(x) memset(x, 0x3fll, sizeof(x))
		#define init_0(x) memset(x, 0, sizeof(x))
		#define Dec(x) fixed << setprecision(x)
		ll pw(ll x, ll P, ll mod = mod1){
			ll ret = 1;
			while(P){
				if(P & 1) ret = ret * x % mod;
				x = x * x % mod; P >>= 1;
			}
			return ret;
		}
	}
	using namespace Function;
}
using namespace OI;
// Init rnd()
mt19937 rnd(time(0) ^ clock());
// Constants
const int dx[4] = {1, -1, 0, 0};
const int dy[4] = {0, 0, 1, -1};
const int N = 5e5 + 5;

void init(){

}
void solve(){

}

signed main(){
//	myfreopen;
	I_love_you;
	init();
	int T = 1;
//	cin >> T;
	while(T--){
		solve();
	}
	return 0;
}
/*things to check:
* Will it MLE?
* Is array big enough?
* Do you need long long?
* Is inf big enough?
* max or min?
* Yes,No or YES,NO?
* Is there anything extra to output?
* Did you Countershoot?
* Have you measured the limit data?
* More measurements should be cleared!!!
*/
辅助工具

贰·整活与好用の网站

  • AC=Answer Coarse=粗略地回答\textcolor{red}{AC=Answer \ Coarse=粗略地回答}
  • WA=Wonderful Answer=完美的答案\textcolor{orange}{WA = Wonderful\ Answer=完美的答案}
  • TLE=Time Limit Enough=时间宽裕\textcolor{yellow}{TLE=Time \ Limit \ Enough=时间宽裕}
  • MLE=Memory Limit Enough=空间宽裕\textcolor{green}{MLE=Memory \ Limit \ Enough=空间宽裕}
  • CE=Compile Easily=轻松通过编译\textcolor{aqua}{CE=Compile \ Easily=轻松通过编译}
  • RE=Run Excellently=完美运行\textcolor{blue}{RE=Run \ Excellently=完美运行}
  • UKE=Ubilevablely Keep Enough Score=难以置信的保持高分\textcolor{purple}{UKE=Ubilevablely \ Keep \ Enough \ Score=难以置信的保持高分}
  • AU=All Unaccepect=全部不正确\textcolor{pink}{AU=All \ Unaccepect=全部不正确}
  • IOI=I′m Only Igorant我只是无知\textcolor{gray}{IOI= I'm \ Only \ Igorant 我只是无知}

网站

叁·个人信息

信息

QQ:WangNoNo 3827712871

微信:Alex王 qq1296445894

bilibili:OIer_WangNoNo

Atcoder:wbh666

Codeforces:Wangnono666

virtual Judge:wbh666

代码源:wangnono

洛谷团队:from CSPJ to NOIP

cnblog:WangNoNo

github:WangNoNo666

肆·娱乐

游戏

localStorage.cp6_player_id=“2840c24d-3926-47fd-b82b-f7ad129a638c” localStorage.cp6_player_id=“d616d248-362e-4dab-a239-56e904954d2b”

蔚蓝

其实主播是

伍·你好

Ciallo~(∠・ω< )⌒⭐

Yo ne~ (∠・ω< )⌒⭐

尾图

我究竟在为了谁。