有趣的KaTeX(附源码)

两年半未见,甚是想念
给大家带来有趣的 KaTeX \KaTeX KATEX,可以放在洛谷主页

文章目录


1

1   #include   <bits/stdc++.h> \texttt{1 \color{orange}\#include <bits/stdc++.h>} #include <bits/stdc++.h>
2   using   namespace   std ; \texttt{2 \color{pink}using\color{blue} namespace \color{green}std\color{black};} using namespace std;
3   int   main () \texttt{3 \color{blue}int \color{orange}main\color{black}()} int main()
4   { \texttt{4 \{} 4 {
5   unsigned   long   long   rp = 0 ; \texttt{5 \qquad \color{blue}unsigned long long \color{lightblue}rp\color{black}=\color{green}0\color{black};} unsigned long long rp=0;
6   -   - rp ; \texttt{6 \qquad -\,-\color{lightblue}rp\color{black};} --rp;
7   cout   <<   "rp="   <<   rp   <<   endl ; \texttt{7 \qquad \color{lightblue}cout \color{orange}<< \color{green}"rp=" \color{orange}<< \color{lightblue}rp \color{orange}<< \color{lightblue}endl\color{black};} cout << "rp=" << rp << endl;
8   return   0 ; \texttt{8 \qquad \color{pink}return \color{green}0\color{black};} return 0;
9   } \texttt{9 \}} 9 }

$\texttt{1 \color{orange}\#include <bits/stdc++.h>}$  
$\texttt{2 \color{pink}using\color{blue} namespace \color{green}std\color{black};}$  
$\texttt{3 \color{blue}int \color{orange}main\color{black}()}$  
$\texttt{4 \{}$  
$\texttt{5 \qquad \color{blue}unsigned long long \color{lightblue}rp\color{black}=\color{green}0\color{black};}$  
$\texttt{6 \qquad -\,-\color{lightblue}rp\color{black};}$  
$\texttt{7 \qquad \color{lightblue}cout \color{orange}<< \color{green}"rp=" \color{orange}<< \color{lightblue}rp \color{orange}<< \color{lightblue}endl\color{black};}$  
$\texttt{8 \qquad \color{pink}return \color{green}0\color{black};}$  
$\texttt{9 \}}$

2

W e l c o m e    t o    t h e     蒟蒻の主页 ! {\color{cyan}{\Bbb Welcome \;}} {\color{#52C410}\Bbb to\;} {\color{orange}\Bbb the\;} {\color{#0E90D2}\ 蒟蒻の主页!} Welcometothe 蒟蒻の主页!

$${\color{cyan}{\Bbb Welcome \;}} {\color{#52C410}\Bbb to\;} {\color{orange}\Bbb the\;} {\color{#0E90D2}\ 蒟蒻の主页!}$$

3

本 人 的 萌 新 Q A Q 是 刚 学 O I 但 是 是 这 样 即 使 我 也 声 音 大 声 喊 出 要 用 蒟 蒻 的 I O I   A K   I \textcolor{green}{\small\text{\color{#ff0000}{\texttt{本}}}\huge\text{\color{#ff0000}{人}}_{\small\text{\color{#aa5500}{\texttt{的}}}^{\large\text{\color{#996600}{萌}\color{#996600}{新}}\small\texttt{\color{#887700}{Q}\color{#778800}{A}\color{#669900}{Q}}}}^{\large\text{\color{#ee1100}{是}}{\small\texttt{\color{#dd2200}{刚}\color{#cc3300}{学}}\large\texttt{\color{#cc3300}{O}\color{#bb4400}{I}}}}\huge\text{\color{#55aa00}{但}\color{#55aa00}{是}}^{\large\text{\color{#44bb00}{即}}{\small\text{\color{#33cc00}{使}}}}_{\normalsize\text{\color{#22dd00}{是}\color{#22dd00}{这}\color{#11ee00}{样}}}\text{\color{#00ff00}{我}\color{#00ee11}{也}}^{\small\text{\color{#00dd22}{要}}\normalsize\texttt{\color{#00dd22}{用}}\texttt{\color{#00cc33}{蒟}}_{\texttt{\color{#00bb44}{蒻}}\large\texttt{\color{#00aa55}{的}}}}_{\scriptsize\texttt{\color{#00aa55}{声}\color{#009966}{音}\color{#008877}{大}\color{#007788}{声}\color{#006699}{喊}\color{#006699}{出}}}\texttt{\color{#0055aa}{I}\color{#0044bb}{O}\color{#0033cc}{I} \color{#0033cc}{A}\color{#0022dd}{K} \color{#0011ee}{I}}} QAQOI使IOI AK I

$$\textcolor{green}{\small\text{\color{#ff0000}{\texttt{本}}}\huge\text{\color{#ff0000}{人}}_{\small\text{\color{#aa5500}{\texttt{的}}}^{\large\text{\color{#996600}{萌}\color{#996600}{新}}\small\texttt{\color{#887700}{Q}\color{#778800}{A}\color{#669900}{Q}}}}^{\large\text{\color{#ee1100}{是}}{\small\texttt{\color{#dd2200}{刚}\color{#cc3300}{学}}\large\texttt{\color{#cc3300}{O}\color{#bb4400}{I}}}}\huge\text{\color{#55aa00}{但}\color{#55aa00}{是}}^{\large\text{\color{#44bb00}{即}}{\small\text{\color{#33cc00}{使}}}}_{\normalsize\text{\color{#22dd00}{是}\color{#22dd00}{这}\color{#11ee00}{样}}}\text{\color{#00ff00}{我}\color{#00ee11}{也}}^{\small\text{\color{#00dd22}{要}}\normalsize\texttt{\color{#00dd22}{用}}\texttt{\color{#00cc33}{蒟}}_{\texttt{\color{#00bb44}{蒻}}\large\texttt{\color{#00aa55}{的}}}}_{\scriptsize\texttt{\color{#00aa55}{声}\color{#009966}{音}\color{#008877}{大}\color{#007788}{声}\color{#006699}{喊}\color{#006699}{出}}}\texttt{\color{#0055aa}{I}\color{#0044bb}{O}\color{#0033cc}{I} \color{#0033cc}{A}\color{#0022dd}{K} \color{#0011ee}{I}}}$$

4

刮刮乐 \colorbox{#0e1d69}{\color{white}\text{刮刮乐}} 刮刮乐
咕值掉光 罚做所有黑题 谢谢参与 咕值-100 再来一次 \boxed{\color{white}\text{咕值掉光}}\boxed{\color{white}\text{罚做所有黑题}}\boxed{\color{white}\text{谢谢参与}}\boxed{\color{white}\text{咕值-100}}\boxed{\color{white}\text{再来一次}} 咕值掉光罚做所有黑题谢谢参与咕值-100再来一次

$$\colorbox{#0e1d69}{\color{white}\text{刮刮乐}}$$
$$\boxed{\color{white}\text{咕值掉光}}\boxed{\color{white}\text{罚做所有黑题}}\boxed{\color{white}\text{谢谢参与}}\boxed{\color{white}\text{咕值-100}}\boxed{\color{white}\text{再来一次}}$$

5

有关必回! {\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\color{white}有关必回!}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

$$
{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\colorbox{red}{\colorbox{orange}{\colorbox{yellow}{\colorbox{green}{\colorbox{cyan}{\colorbox{blue}{\colorbox{purple}{\color{white}有关必回!}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}$$

6

反馈 \textbf{反馈} 反馈
如果你认为某个用户太蒻了,欢迎向洛谷反馈,以帮助更多的同学。  \text{如果你认为某个用户太蒻了,欢迎向洛谷反馈,以帮助更多的同学。 } 如果你认为某个用户太蒻了,欢迎向洛谷反馈,以帮助更多的同学。 
| 蒟蒻一只,蒻爆了   ▼ | \colorbox{#3bb4f2}{\color{#3bb4f2}|\color{white}\text{蒟蒻一只,蒻爆了\ \ $\scriptsize\blacktriangledown$}\color{#3bb4f2}|} |蒟蒻一只,蒻爆了  |
请具体说明理由,以增加反馈的可信度。 \small\text{请具体说明理由,以增加反馈的可信度。} 请具体说明理由,以增加反馈的可信度。
蒻到连 A + B P r o b l e m 也不会|                                                                           \color{#dedede}\boxed{\color{#000}\text{蒻到连$A+B Problem$也不会|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }} 蒻到连A+BProblem也不会|                                                                          
取消                           ∣                           确定 \small\color{#0e90d2}\text{取消}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \color{#eee}{|}\color{#0e90d2} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \text{确定} 取消                                                    确定

举报成功,感谢您的反馈 \small\text{举报成功,感谢您的反馈} 举报成功,感谢您的反馈


$$\textbf{反馈}$$
$$\text{如果你认为某个用户太蒻了,欢迎向洛谷反馈,以帮助更多的同学。 }$$
$$\colorbox{#3bb4f2}{\color{#3bb4f2}|\color{white}\text{蒟蒻一只,蒻爆了\ \ $\scriptsize\blacktriangledown$}\color{#3bb4f2}|}$$
$$\small\text{请具体说明理由,以增加反馈的可信度。}$$
$$\color{#dedede}\boxed{\color{#000}\text{蒻到连$A+B Problem$也不会|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }}$$
$$\small\color{#0e90d2}\text{取消}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \color{#eee}{|}\color{#0e90d2} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \text{确定} $$

$$\small\text{举报成功,感谢您的反馈}$$
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值