
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;#define MS(x,y) memset(x,y,sizeof(x))#define MC(x,y) memcpy(
这题我采取了两种做法。下面提供两份代码。前者较为麻烦,但是基于一定的贪心原则, 状态少,效率高。后者写起来方便,速度稍慢。#include#include#includeusing namespace std;#define MS(x,y) memset(x,y,sizeof(x))#define MC(x,y) memcpy(x,y,sizeof(x))typedef
头文件识别+特殊关键词法:#include#include#include#include#include#include#include#include#include#include#include#include#include#include#define MS(x,y) memset(x,y,sizeof(x))#define MC(x,y) memc
E. The Last Fight Between Human and AItime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output100 years have passed