跳到正文

个人记录

原主页

lrqcs约 7 分钟
原文
文章信息与版本

文章信息

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

版本

  1. v1当前

This is a lazy man , there has nothing he written . ‮This is a lazy man , there has nothing he written .

3个月不到 gz233(喜)

最劣解s:

1 2 3 4 5 6

C++
#include<stdio.h>
namespace lrqcs{
/*
  <math.h> <stdlib.h> <time.h> <algorithm> <bitset>
  <string.h> <unordered_map> <queue> <set> 
  <iostream> <cstring>
  -std=c++14
  -Dwin
	srand(time(0));
	freopen("5.in","r",stdin);
	freopen("out.txt","w",stdout);
  __builtin_parity(n);__builtin_popcount(n);
*/
#ifdef win
#else
#define getchar getchar_unlocked
#endif
#define iv inline void
#define ic inline ci
//#define int unsigned
//#define int long long
//#define int __int128
/* 998244353ll 1000000007ll */
#define mod 998244353ll
#define inf 0x3f3f3f3f
#ifdef int
#define ref 0xDEADC0DEDEADC0DEll
#else
#define ref 0xDEADC0DE
#endif
//#define inf 0x3f3f3f3f3f3f3f3fll
typedef const int ci;typedef unsigned ul;
typedef unsigned long long ull;
ic re();const char getch();void pr(ci x);void prs(ci x);
void prn(ci x);
iv swp(int&a,int&b){a^=b^=a^=b;}ic Abs(ci a){return a>0?a:-a;}
iv bfsl/*big front small last*/(int&a,int&b)
{a>b?void():swp(a,b);}ic Max(ci A,ci B){return A>B?A:B;}
iv gma(int&A,ci B){A=Max(A,B);}ic Min(ci A,ci B)
{return A<B?A:B;}iv gmi(int&A,ci B){A=Min(A,B);}
ic gcd(ci a,ci b){return b?gcd(b,a%b):a;}ic fpow
(int a,int b=mod-2,ci md=mod)
{int c=1;while(b){if(b&1)c=c*a%md;a=a*a%md,b>>=1;}return c;}
void pri(ci x){if(x>9)pri(x/10);putchar(x%10^48);}
iv pr(ci x){if(x<0)putchar('-'),pri(-x);else pri(x);}
iv prs(ci x){pr(x);putchar(32);}iv prn(ci x){pr(x);putchar(10);}
const char getch(){
char c=getchar();while(!((c>47&&c<58)||(c>96&&c<123)
||(c>64&&c<91)))c=getchar();return c;}
ic re(){
int x=0;char c=getchar(),f=0;while((c<48||c>57)&&~c)
f|=(c=='-'),c=getchar();if(c==-1)return ref;
while(c>47&&c<58)x=x*10+(c^48),c=getchar();return f?-x:x;}
}using namespace lrqcs;
iv work();signed main(){
	for(int T=1||re();T--;)work();
}

iv work(){
	;
}/*

*/

2025.7.15 200蓝

好题单

lrqcs

唐

他人犇犇 自己犇犇

%2021.?.?? 入坑phi %2024.1.30 入坑4k %2025.3.23 0dan %2025.6.09 1dan %2025.7.08 2dan %2025.7.10 4dan tech %2025.7.11 3dan

        \;\;\;\;

Java
player.devSpeed=new Decimal("1e900") //speed=1e900

原文