跳到正文

剪贴板

剪贴板 i1l3dzpw

原文
剪贴板信息

剪贴板信息

收录
更新

3868275535

备忘录

斜率优化dp

按照重要度递减

卡常小寄巧

骗分导论

缺省源

C++
#pragma GCC optimize(2)
#pragma GCC optimize(3)
#pragma GCC fast
#pragma GCC s
C++
namespace Fast{
    namespace Fread{const int SIZE=1<<20;char buf[SIZE],*S,*TT;inline char getchar(){if(S==TT){TT=(S=buf)+fread(buf,1,SIZE,stdin);if(S==TT)return '\n';}return *S++;}}
    namespace Fwrite{const int SIZE=1<<20;char buf[SIZE],*S=buf,*TT=buf+SIZE;inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}inline void putchar(char c){*S++=c;if(S==TT)flush();}struct NTR{~NTR(){flush();}} ztr;}
    using namespace Fread;
    using namespace Fwrite;
    #define getchar Fread::getchar
    #define putchar Fwrite::putchar
    namespace FastIO{
        struct Reader{
            template <typename T>
            Reader &operator>>(T &x){x=0;short f=1;char c=getchar();while(c<'0'||c>'9'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9')x=(x<<3)+(x<<1)+(c^48),c=getchar();x*=f;return *this;}
            Reader &operator>>(double &x){x=0;double t=0;short f=1,s=0;char c=getchar();while((c<'0'||c>'9')&&c!='.'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9'&&c!='.')x=x*10+(c^48),c=getchar();if(c=='.')c=getchar();else{x*=f;return *this;}while(c>='0'&&c<='9')t=t*10+(c^48),s++,c=getchar();while(s--)t/=10.0;x=(x+t)*f;return *this;}
            Reader &operator>>(long double &x){x=0;long double t=0;short f=1,s=0;char c=getchar();while((c<'0'||c>'9')&&c!='.'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9'&&c!='.')x=x*10+(c^48),c=getchar();if(c=='.')c=getchar();else{x*=f;return *this;}while(c>='0'&&c<='9')t=t*10+(c^48),s++,c=getchar();while(s--)t/=10.0;x=(x+t)*f;return *this;}
            Reader &operator>>(__float128 &x){x=0;__float128 t=0;short f=1,s=0;char c=getchar();while((c<'0'||c>'9')&&c!='.'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9'&&c!='.')x=x*10+(c^48),c=getchar();if(c=='.')c=getchar();else{x*=f;return *this;}while(c>='0'&&c<='9')t=t*10+(c^48),s++,c=getchar();while(s--)t/=10.0;x=(x+t)*f;return *this;}
            Reader &operator>>(char &c){c=getchar();while(c==' '||c=='\n'||c=='\r')c=getchar();return *this;}
            Reader &operator>>(char *str){int len=0;char c=getchar();while(c==' '||c=='\n'||c=='\r')c=getchar();while(c!=' '&&c!='\n'&&c!='\r')str[len++]=c,c=getchar();str[len]='\0';return *this;}
            Reader &operator>>(string &str){str.clear();char c=getchar();while(c==' '||c=='\n'||c=='\r')c=getchar();while(c!=' '&&c!='\n'&&c!='\r')str.push_back(c),c=getchar();return *this;}
            Reader(){}
        }cin;
        struct Writer{
            const int Setprecision=6;
            typedef int mxdouble;
            template <typename T>
            Writer &operator<<(T x){if(x==0){putchar('0');return *this;}if(x<0)putchar('-'),x=-x;static short sta[40];short top=0;while(x>0)sta[++top]=x%10,x/=10;while(top>0)putchar(sta[top]+'0'),top--;return *this;}
            Writer &operator<<(double x){if(x<0)putchar('-'),x=-x;mxdouble _=x;x-=(double)_;static short sta[40];short top=0;while(_>0)sta[++top]=_%10,_/=10;if(top==0)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;putchar('.');for(int i=0;i<Setprecision;i++)x*=10;_=x;while(_>0)sta[++top]=_%10,_/=10;for(int i=0;i<Setprecision-top;i++)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;return *this;}
            Writer &operator<<(long double x){if(x<0)putchar('-'),x=-x;mxdouble _=x;x-=(long double)_;static short sta[40];short top=0;while(_>0)sta[++top]=_%10,_/=10;if(top==0)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;putchar('.');for(int i=0;i<Setprecision;i++)x*=10;_=x;while(_>0)sta[++top]=_%10,_/=10;for(int i=0;i<Setprecision-top;i++)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;return *this;}
            Writer &operator<<(__float128 x){if(x<0)putchar('-'),x=-x;mxdouble _=x;x-=(__float128)_;static short sta[40];short top=0;while(_>0)sta[++top]=_%10,_/=10;if(top==0)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;putchar('.');for(int i=0;i<Setprecision;i++)x*=10;_=x;while(_>0)sta[++top]=_%10,_/=10;for(int i=0;i<Setprecision-top;i++)putchar('0');while(top>0)putchar(sta[top]+'0'),top--;return *this;}
            Writer &operator<<(char c){putchar(c);return *this;}
            Writer &operator<<(char *str){int cur=0;while(str[cur])putchar(str[cur++]);return *this;}
            Writer &operator<<(const char *str){int cur=0;while(str[cur])putchar(str[cur++]);return *this;}
            Writer &operator<<(string str){int st=0,ed=str.size();while(st<ed) putchar(str[st++]);return *this;}
            Writer() {}
        } cout;
    }
}
using namespace Fast;
#ifdef ONLINE_JUDGE
#define cin FastIO::cin
#endif
#define cout FastIO::cout

工具哇

免登录邮箱

在线听歌

vjudge镜像站

油叉镜像站

尺规作图

在线IDE

Markdown 编辑器(在线离线都有)

AI

AI调代码(要登陆)

AI (也要登陆)

STL使用指南

LaTeX编辑器

工具集合

隐藏题目难度的插件

写题解辅助器

p图的

颜文字大全

lqɯʎs

猎奇朗读器1

猎奇朗读器2

和AI下棋

cs1.6

代码
这游戏我玩过。,好像叫斗罗大陆,内容是灭霸恢复记忆成为火影召唤出神龙重返青青草原与熊大熊二一起阻止猪猪侠和王权富贵霸占魔仙堡成为铠甲勇士的计划之后和迪迦奥特曼一起取得真经消灭创世神,得到蟹黄堡秘方怎么弄的我都知不道,你当我傻吗?我知道怎么弄的先用小舞把唐三给变大,穿上这个衣服和头发和眼睛弄,还有把穿上这个鞋子,。还有把这个手机变大,然后把唐三给变大就可以了呗。还说我不会怎么弄的。那你也哦哦知道火影忍者打怪兽充电宝没电了。这很诡异知道吗?就像我妹刚刚生了我,因为我奶奶刚才煮了鸡蛋
代码
你为了显摆自己很牛逼而操死了别人的妈,所有别人一起把你的妈操死了。这并不代表你夸别人牛逼你的妈就能复活,这样没被你夸牛逼的人还会操死你更多的妈。
去萌的你新\huge\texttt{去}_{\small\texttt{萌}^{\large\texttt{的}}}^{\large\texttt{你}_{\small\texttt{新}}} 去刚的I你学O\huge\texttt{去}_{\small\texttt{刚}^{\large\texttt{的}\small\texttt{I}}}^{\large\texttt{你}_{\small\texttt{学}\large\texttt{O}}}
C++
$$\huge\texttt{去}_{\small\texttt{萌}^{\large\texttt{的}}}^{\large\texttt{你}_{\small\texttt{新}}}$$

$$\huge\texttt{去}_{\small\texttt{刚}^{\large\texttt{的}\small\texttt{I}}}^{\large\texttt{你}_{\small\texttt{学}\large\texttt{O}}}$$

   到 一此游↺  \color{#0aa}\cancel{\ \ \ \textrm{\textit{\textbf{{\Large\color{#0af}到 }}}}^\textrm{\textit{\textbf{{\small\color{#e99100}此}}}}_\textrm{\textit{\textbf{\large\color{#778891}一}}}\textrm{\textit{\textbf{\LARGE\color{#9c1}游}}}\circlearrowleft\ \ }

C++
$\color{#0aa}\cancel{\ \ \ \textrm{\textit{\textbf{{\Large\color{#0af}到 }}}}^\textrm{\textit{\textbf{{\small\color{#e99100}此}}}}_\textrm{\textit{\textbf{\large\color{#778891}一}}}\textrm{\textit{\textbf{\LARGE\color{#9c1}游}}}\circlearrowleft\ \ }$