随笔分类 -  uva

摘要:这道题看起来非常复杂,,,看了看大佬们的代码感觉太优秀了。。。。。用最简单的方法考虑所有未知。。。。。。。不浪费一行代码/。。。 1 #include <stdio.h> 2 3 #include <stdlib.h> 4 5 #include <string.h> 6 7 char a[15][1 阅读全文
posted @ 2019-03-01 16:11 jvruodejxt 阅读(137) 评论(0) 推荐(0)
摘要:1 #include<cstdio> 2 #include<string> 3 #include<iostream> 4 #include<cstring> 5 using namespace std; 6 7 int bian[100][100], vis[100]; 8 void cont (c 阅读全文
posted @ 2019-02-25 19:09 jvruodejxt 阅读(134) 评论(0) 推荐(0)
摘要:接触链表的第一题, 感觉就是,链表挺好用的。通过看了几节慕课明白了大佬们口中的复杂度O(n), O(1),是神魔意思了。。。。 通过这个题了解了链表的一些思想,能力太差了,,不知道END键的作用是最后弄懂了,代码如下。 #include <cstdio> #include <cstring> con 阅读全文
posted @ 2019-02-15 15:01 jvruodejxt 阅读(97) 评论(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 阅读(84) 评论(0) 推荐(0)

Contact with me