摘要: 接触链表的第一题, 感觉就是,链表挺好用的。通过看了几节慕课明白了大佬们口中的复杂度O(n), O(1),是神魔意思了。。。。 通过这个题了解了链表的一些思想,能力太差了,,不知道END键的作用是最后弄懂了,代码如下。 #include <cstdio> #include <cstring> con 阅读全文
posted @ 2019-02-15 15:01 jvruodejxt 阅读(73) 评论(0) 推荐(0) 编辑
摘要: #include<cstdio> #include<stack> #include<cstring> using namespace std; int n, jxt[1100] = {0}; int main() { int ll = 0; while(scanf("%d", &n) != EOF 阅读全文
posted @ 2019-02-06 18:08 jvruodejxt 阅读(65) 评论(0) 推荐(0) 编辑

Contact with me