跳到正文

KSS_IS_BIG_SB

784794

被机惨了

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

资料

编号
784794
抓取

AFO

画图网站:Graph Editor

查LaTeX: LaTeX-Math

快读模版

C++
int read() {
	int x = 0; char c = getchar();
	while (c < '0' || c > '9') c = getchar();
	while (c >= '0' && c <= '9') {
		x = (x << 1) + (x << 3) + (c ^ '0');
		c = getchar();
	}
	return x;
}

GEDIT script

Bash
#!/bin/sh
dir=$GEDIT_CURRENT_DOCUMENT_DIR
name=$GEDIT_CURRENT_DOCUMENT_NAME
pre=${name%.*}
g++ $dir/$name -o $dir/$pre -g -Wall -O2 -lm -std=c++14
if test $? -eq 0
then
	if test -e $dir/$pre.in
	then
		gnome-terminal --title=$pre -- bash -c "time $dir/$pre;echo;echo $pre.out:;cat $pre.out;echo;read;"
	else
		gnome-terminal --title=$pre -- bash -c "time $dir/$pre;echo;echo Couldn\'t find $pre.out;echo;read;"
	fi
fi

一些可能有用的短链接

http://mtw.so/6u5pnc http://mtw.so/5KoOy7

2026.9.5 通过100题

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