⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2665.cpp

📁 北京大学的一些acm代码。还有一些资料。
💻 CPP
字号:

/*#include<cstdio>

struct begin_end
{
	long int begin;
	long int end;
};

int main()
{
	long int length, section;
	long int leftTree;
	begin_end *temp;
	scanf("%ld%ld", &length, &section);
	while(true)
	{
		if(length == 0 && section == 0)
		{
			break;
		}
		temp = new begin_end[section];
		leftTree = length + 1;
		for(int i = 0; i < section; i++)
		{
			scanf("%ld%ld", &temp[i].begin, &temp[i].end);
			leftTree -= temp[i].end - temp[i].begin + 1;
		}
		printf("%ld\n", leftTree);
		scanf("%ld%ld", &length, &section);
	}
	return 0;
}*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -