
dp
姓名吴明
a man is no one
展开
-
Working out CodeForces - 429B
彩蛋 B. Working out time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Summer is coming! It's time for Iahub and Iahubina to work out...原创 2019-07-25 10:27:08 · 133 阅读 · 0 评论 -
HDU4747 MEX(dp ,递推)
传送门 #include<bits/stdc++.h> #define ll long long using namespace std; const int Max=200010; int a[Max],mex[Max],pre[Max]; int main(){ int n; while(cin>>n&&n){ fill(...原创 2019-07-25 10:51:40 · 268 阅读 · 0 评论