https://www.luogu.com.cn/paste/7avn57gj
https://core-of-banyan.xjtuicpc.com/
https://cps-check.com/cn/aim-trainer
#include<bits/stdc++.h>
#define ______________________ cin.tie(0),cout.tie(0);
#define ____________________ ios::sync_with_stdio(0);
#define ___________________ using namespace std
#define _______________ }
#define ______________ {
#define _____________ +
#define ____________ <<
#define ___________ >>
#define __________ int main()
#define _________ return 0;
#define _______ ,
#define ______ ;
#define _____ cout
#define ____ cin
#define ___ int
___________________ ______
__________ ______________
____________________
______________________
___ _ _______ __ ______
____ ___________ _ ___________ __ ______
_____ ____________ _ _____________ __ ______
_________
_______________sinθ = 对边/斜边 = a/c
cosθ = 邻边/斜边 = b/c
tanθ = 对边/邻边 = a/b
cotθ = 1/tanθ = b/a
secθ = 1/cosθ = c/b
cscθ = 1/sinθ = c/aios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
这是快读快写
优先队列 :
priority_queue快速幂
long long ksm(long long a,long long b,long long c)
{
long long ans=1;
a%=c;
while(b>0)
{
if(b%2!=0)ans=(ans*a)%c;
a=(a*a)%c;
b/=2;
}
return ans;
}#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main() {
double n=0;
cout<<"按F2执行,按F4停止,按ESC退出\n";
cout<<"默认0.05秒点击一次,最快0.01秒点击一次\n";
cout<<"请输入间隔时间:\n";
cin>>n;
n*=1000;
if(n==0) {
n=50;
}
while(1) {
if(GetAsyncKeyState(VK_F2)) {
while(1) {
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);
Sleep(n);
if(GetAsyncKeyState(VK_F4)) break;
}
}
if(GetAsyncKeyState(VK_ESCAPE)) return 0;
}
return 0;
}这是st表(最大\最小值)
#include<bits/stdc++.h>
using namespace std;
inline int read()
{
int x=0,f=1;char ch=getchar();
while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
while (ch>='0'&&ch<='9'){x=x*10+ch-48;ch=getchar();}
return x*f;
}
int n,m,ar[100005],dp[100005][40],LOG[100005];
int main()
{
cin>>n>>m;
for(int i=1;i<=n;i++)
{
ar[i]=read();
dp[i][0]=ar[i];
}
for(int j=1;(1<<j)<=n;j++)
for(int i=1;i+(1<<(j-1))<=n;i++)
dp[i][j]=max(dp[i][j-1],dp[i+(1<<(j-1))][j-1]);
LOG[1]=0;
for(int i=2;i<=n;i++)
LOG[i]=LOG[i/2]+1;
while(m--)
{
int L=read();
int R=read();
int d=LOG[R-L+1];
cout<<max(dp[L][d],dp[R-(1<<d)+1][d])<<'\n';
}
return 0;
}https://louisalflame.github.io/CFantasyClick/index.html
https://ak-ioi.com/apps/oi-2048/
毕竟这个光合作用产生的蛋白酶会导致全球变暖,所以狙击手在华容道排雷的时候被汉高祖带着高达机甲埋伏了。每次象棋将军的时候他们骑的马就会释放大量的带电粒子,引发能量乱流,导致地里的白菜减产,从而影响华尔街煎饼卷大葱的销量。根据勾股定理我们不难推算出静夜思的构词法,其中的主语从句表达了杜甫想要为国捐躯,逍遥山水的感情。但是三角函数证实了水的张力,而且鸡蛋发霉后的乳酸菌会促使心脑血管的收缩,导致地球气温升高造成热胀冷缩效应,同时会影响拉格朗日点的吸收
