跳到正文

科技·工程

缺省源

QuaternaryTree约 3 分钟
原文
文章信息与版本

文章信息

发布
2025年7月20日
收录
2025年12月12日
更新
2026年11月8日
篇幅
约 3 分钟

版本

  1. v1当前
C++
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <vector>
#include <queue>
#include <map>

//using namespace std;

using ll = long long;

namespace QwQ{
	

	#define gc getchar
	#define pc putchar
	
	const ll MOD = 998244353;
	
	const ll INF = 1e9 + 7;
	
	void File(std::string in,std::string out){
		
		freopen(in.c_str(),"r",stdin);
		
		freopen(out.c_str(),"w",stdout);
	}
	
	
	ll qpow(int x,int y,int MOD){
		
		int res = 1;
		
		while(y){
			
			if(y & 1)
				res = res * x % MOD;
			
			x = x *x % MOD;
			
			y >>= 1;
		
		}
		return res;
	}
	
	ll gcd(int a,int b){
		
		if(b == 0)
			return a;
		
		return gcd(b,a % b);
		
	}
	
	ll lcm(int a,int b){
		
		return a * b / QwQ::gcd(a,b);
		
	}
	
	ll read(){
		
		char ch = gc();int x = 0;bool w = 0;
		
		for(;!isdigit(ch);ch = gc())w |= (ch == '-');
		
		for(;isdigit(ch);ch = gc())x = (x << 3) + (x << 1) + (ch ^ 48);
		
		return w ? -x : x;
	}
	
	void write(ll x){
		
		if(x < 0) pc('-'),x = -x;
		
		if(x > 9) write(x / 10);
		
		pc(x % 10 + 48);
	}
	
}

using namespace QwQ;

ll T;

void solve(){
	
	
	
}

signed main(){
	
	std::ios::sync_with_stdio(false);
	
	std::cin.tie(0);
	
	std::cout.tie(0);
	
	
	while(T--)
		solve();
	
	return (0 - 0);
}
原文