![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stl
会夜明的猪
这个作者很懒,什么都没留下…
展开
-
感悟
#include #include using namespace std; int main() { list a;//设置一个队列a for(int i=1;i<=5;i++) a.push_back(i);//赋值 list::iterator it=a.begin(),c; for(c=a.begin();c!=a.end();c++)原创 2017-05-08 15:03:35 · 128 阅读 · 0 评论 -
UVa 122 (紫书)
#include #include #include #include #include using namespace std; const int maxn=500; bool failed=false; struct Node { bool have_value; int v; Node *left,*right; Node():have_value(fals原创 2017-05-08 17:47:46 · 284 阅读 · 0 评论