尺取法
YCQ_Lancet
骐骥一跃,不能十步,驽马十驾,功在不舍
展开
-
An impassioned circulation of affection
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Nadeko's birthday is approaching! As she decorated the room for the party,原创 2017-06-08 08:44:42 · 287 阅读 · 0 评论 -
2017 ACM/ICPC Asia Regional Shenyang Online card card card 尺取法
#include using namespace std; const int maxn=2e6+10; int s[maxn][2]; int main() { int n; while(scanf("%d",&n)!=EOF) { for(int i=1; i<=n; i++) { scanf("%d",&s[i]原创 2017-09-10 20:06:59 · 213 阅读 · 0 评论