跳到正文

dyx2021

493798

An apple a day keeps the doctor away | 最后在线时间:2024年3月7日22时36分

在洛谷打开
资料、奖项与版本

资料

编号
493798
抓取

本人是个蒟蒻,不定时复活中…

Page Views Count

    ∙    i  警告 此人太蒻了,请小心      ∙    i  提醒 请不要靠近我      ∙    ×  请勿 膜拜我      ∙    √  应该 嘲讽并踩爆这个蒟蒻  % w, h, fillcol, bordercol \newcommand\BorderRect[4]{ \color{#3}\rule{#1}{#2}\kern{-#1} \color{#4}\rule{0.5px}{#2}\kern{-0.5px} \rule{#1}{0px}\rule{0.5px}{#2}\kern{-0.5px} \kern{-#1}\rule[#2]{#1}{0px} } % w, h, title, subtitle, fillcol, iconch ,iconcol \newcommand\BasicInfoBarFather[8]{ \BorderRect{#1}{#2}{#5}{ghostwhite} \kern{-#1} \raisebox{#2}{ \raisebox{-26pt}{ \color{black}\kern{-4px} \raisebox{7px}{ \color{#7}\Huge{∙}\kern{-1px} } \raisebox{10.6px}{ \kern{-20.2px} \color{white}\scriptsize\textbf{#6} } \kern{-7px}\footnotesize \raisebox{10.2px}{\textbf{\textsf{\color{#8}#3}}}\kern{2px} \raisebox{10.2px}{\textsf{#4}} } } } \def\BasicInfoBarColorFill{#F4F4F4}\def\BasicInfoBarColorIcon{#0078D4} \def\BasicWarnBarColorFill{#FFF4CE}\def\BasicWarnBarColorIcon{#9D5D00} \def\BasicOkBarColorFill{#DFF6DD}\def\BasicOkBarColorIcon{#0F7B0F} \def\BasicErrBarColorFill{#FDE7E9}\def\BasicErrBarColorIcon{#C42B1C} \newcommand\BasicInfoBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicInfoBarColorFill}{i}{\BasicInfoBarColorIcon}{\BasicInfoBarColorIcon} } \newcommand\BasicWarnBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicWarnBarColorFill}{i}{\BasicWarnBarColorIcon}{\BasicWarnBarColorIcon} } \newcommand\BasicOkBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicOkBarColorFill} {\tiny\kern{-2px}\raisebox{0.8px}{√}} {\BasicOkBarColorIcon}{\BasicOkBarColorIcon} } \newcommand\BasicErrBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicErrBarColorFill} {\kern{-2px}\raisebox{0.6px}{×}} {\BasicErrBarColorIcon}{\BasicErrBarColorIcon} } \BasicWarnBar{200px}{26px}{警告}{此人太蒻了,请小心}{#000000}\\ \BasicInfoBar{200px}{26px}{提醒}{请不要靠近我}{#000000}\\ \BasicErrBar{200px}{26px}{请勿}{膜拜我}{#000000}\\ \BasicOkBar{200px}{26px}{应该}{嘲讽并踩爆这个蒟蒻}{#000000}\\

dyx2021的基本信息

dyx2021的练习徽章

dyx2021的咕值信息

题库网站,有兴趣自己看

洛谷试炼(失恋)场

大佬的博客园

———————————————————华丽的分割线

大事祭

关于洛谷

第一次加入洛谷大家庭 2021-03-11
第一次实名认证 2021-08-04
第一次上绿名 2021-08-09
在洛谷的一周年 2022-03-11
第一次上橙名 2022-09-19
第一次交题解 2022-11-08
第一篇题解通过 2022-11-14
在洛谷的两周年 2023-03-11

关于练习

总计

刷满了100道题 2021-07-22
刷满了200道题 2021-08-15
刷满了300道题 2022-02-10
刷满了400道题 2022-03-19
刷满了500道题 2022-05-20
刷满了600道题 2022-07-12
刷满了700道题 2022-08-16
刷满了800道题 2022-09-14
刷满了900道题 2022-11-05
刷满了1000道题 2023-01-05
刷满了1100道题 2023-01-28
刷满了1200道题 2023-11-14

第一次

有生第一次AC了一道红题(P1001) 2021-03-11
有生第一次AC了一道橙题(P5707) 2021-07-02
有生第一次AC了一道黄题(P2181) 2021-07-19
有生第一次AC了一道绿题(P3956) 2021-08-09
有生第一次AC了一道蓝题(AT2400) 2021-12-30
有生第一次AC了一道紫题 (P4462)2022-08-15
有生第一次AC了一道黑题 (CF341E)2023-02-09

—————————————————华丽的又一道分割线

总排
快排
  • AC:Accepted,正确通过
  • CE:Compile Error,编译错误
  • PC:Partially Correct,部分正确
  • WA:Wrong Answer,答案错误
  • RE:Runtime Error,运行时错误
  • TLE:Time Limit Exceeded,时间超限
  • MLE:Memory Limit Exceeded,内存超限
  • OLE:Output Limit Exceeded,输出超限
  • UE:Unknown Error,未知错误

快速排序

卡时必备

C++
#include<bits/stdc++.h>
namespace io
{
    const int __SIZE = (1 << 21) + 1;
    char ibuf[__SIZE], *iS, *iT, obuf[__SIZE], *oS = obuf, *oT = oS + __SIZE - 1, __c, qu[55]; int __f, qr, _eof;
    #define Gc() (iS == iT ? (iT = (iS = ibuf) + fread (ibuf, 1, __SIZE, stdin), (iS == iT ? EOF : *iS ++)) : *iS ++)
    inline void flush () { fwrite (obuf, 1, oS - obuf, stdout), oS = obuf; }
    inline void gc (char &x) { x = Gc(); }
    inline void pc (char x) { *oS ++ = x; if (oS == oT) flush (); }
    inline void pstr (const char *s) { int __len = strlen(s); for (__f = 0; __f < __len; ++__f) pc (s[__f]); }
    inline void gstr (char *s) { for(__c = Gc(); __c < 32 || __c > 126 || __c == ' ';)  __c = Gc();
    for(; __c > 31 && __c < 127 && __c != ' ' && __c != '\n' && __c != '\r'; ++s, __c = Gc()) *s = __c; *s = 0; }
    template <class I> inline bool gi (I &x) { _eof = 0;
    for (__f = 1, __c = Gc(); (__c < '0' || __c > '9') && !_eof; __c = Gc()) { if (__c == '-') __f = -1; _eof |= __c == EOF; }
    for (x = 0; __c <= '9' && __c >= '0' && !_eof; __c = Gc()) x = x * 10 + (__c & 15), _eof |= __c == EOF; x *= __f; return !_eof; }
    template <class I> inline void print (I x) { if (!x) pc ('0'); if (x < 0) pc ('-'), x = -x;
    while (x) qu[++ qr] = x % 10 + '0',  x /= 10; while (qr) pc (qu[qr --]); }
    struct Flusher_ {~Flusher_(){flush();}}io_flusher_;
}
using io::pc; using io::gc; using io::pstr; using io::gstr; using io::gi; using io::print;
signed main()
{
    
	return 0;
}
/*
用法:
使用 gi(x); 读入一个任意的整型 x 等价于 scanf("%d", &x);其中可以将 %d 自动识别为对应类型。
使用 print(x); 输出一个任意的整型 x 等价于 printf("%d", x);其中可以将 %d 自动识别为对应类型。
使用 gc(c); 读入一个字符 c 等价于 scanf("%c", &c)
使用 pc(c); 输出一个字符 c 等价于 putchar(c);
使用 gstr(str); 读入一个字符串 str 等价于 scanf("%s", str); 可以用 gstr(str + 1); 替换 scanf("%s", str + 1);
使用 pstr(str); 输出一个字符串 str 等价于 printf("%s", str);
*/

好东西

还没有收录这位用户的文章。