首页 > 2016年12月01日 > 全部分享
杭电1205
...
分类:其他   时间:2016-12-01 09:23:58    收藏:0  评论:0  赞:0  阅读:256
Visual Studio 下C#编译器在解析属性名时如果增加一个get_[您的另一个已经包含在类中属性名]的属性会报错,微软大哥这是什么鬼?
假设在在我们的vs环境新建一个类 copy以下代码,表面看好像一切都没有问题。 同时创建两个属性 一个为get_started_on 一个为started_on;立马报错。 错误 CS0102 类型“coupon_setting”已经包含“get_started_on”的定义。 开什么玩笑,微软大哥 ...
分类:Windows开发   时间:2016-12-01 09:23:17    收藏:0  评论:0  赞:0  阅读:579
Leetcode: UTF-8 Validation
这道题题干给出了判断 one single UTF-8 char的方法,然后给一个UTF-8 char sequence,判断是不是正确sequence. (读题读了很久) 这道题关键是要学到用 & 取出一个bit sequence当中几位的方法 二进制数表示法:在前面加 0b, 八进制加0o, 十 ...
分类:其他   时间:2016-12-01 07:47:37    收藏:0  评论:0  赞:0  阅读:276
《DSP using MATLAB》示例Example4.13
代码: 结果: ...
分类:其他   时间:2016-12-01 07:47:12    收藏:0  评论:0  赞:0  阅读:285
VTK初学一,a Mesh from vtkImageData—球冠
用tkGreedyTerrainDecimation,创建了一个球冠网格mesh ...
分类:其他   时间:2016-12-01 07:46:51    收藏:0  评论:0  赞:0  阅读:381
VTK初学一,比较常见的错误
常见错误no override found for vtkPolyDataMapper ...
分类:其他   时间:2016-12-01 07:46:16    收藏:0  评论:0  赞:0  阅读:260
MongoDB - MongoDB CRUD Operations, Query Documents, Iterate a Cursor in the mongo Shell
The db.collection.find() method returns a cursor. To access the documents, you need to iterate the cursor. However, in the mongo shell, if the returne ...
分类:数据库技术   时间:2016-12-01 07:45:55    收藏:0  评论:0  赞:0  阅读:287
Leetcode: Decode String
自己的做法:这种括号问题肯定是用栈,最好是先在栈里存一个空元素,然后stack.peek().append()各种操作 一个栈存string, 一个栈存number, 维护一个指针numStart指向数字的开始 1. 遇到数字啥也不做 2. 遇到char: stack.peek().append(c ...
分类:其他   时间:2016-12-01 07:45:33    收藏:0  评论:0  赞:0  阅读:216
VTK初学一,a Mesh from vtkImageData
#ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include <vtkAutoInit.h> VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteractionStyle) #endif ...
分类:其他   时间:2016-12-01 07:44:46    收藏:0  评论:0  赞:0  阅读:337
vagrant 1.8.6 安装过程及总结遇到的坑
下面先总结遇到的问题,这些问题如果你也遇到,可能需要搜索很多次才能找到原因。 如果想看安装过程,可以先直接跳到后面第二部分部分。 1 问题汇总: 1.1 vagrant版本过高问题。 vagrant 1.8.7版本存在问题。可以搜索:"vagrant 1.8.7 cant download box" ...
分类:其他   时间:2016-12-01 07:44:30    收藏:0  评论:0  赞:0  阅读:694
LeetCode #139. Word Break C#
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For ...
分类:Windows开发   时间:2016-12-01 07:44:08    收藏:0  评论:0  赞:0  阅读:277
MongoDB - MongoDB CRUD Operations, Query Documents
Query Method MongoDB provides the db.collection.find() method to read documents from a collection. The db.collection.find() method returns a cursor to ...
分类:数据库技术   时间:2016-12-01 07:43:46    收藏:0  评论:0  赞:0  阅读:304
meeting room I & II
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), determine if a person could attend all mee ...
分类:其他   时间:2016-12-01 07:43:15    收藏:0  评论:0  赞:0  阅读:224
MongoDB - MongoDB CRUD Operations, Query Documents, Project Fields to Return from Query
By default, queries in MongoDB return all fields in matching documents. To limit the amount of data that MongoDB sends to applications, you can includ ...
分类:数据库技术   时间:2016-12-01 07:42:53    收藏:0  评论:0  赞:0  阅读:323
224. Basic Calculator
Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or ...
分类:其他   时间:2016-12-01 07:42:27    收藏:0  评论:0  赞:0  阅读:266
MongoDB - MongoDB CRUD Operations, Query Documents, Query for Null or Missing Fields
Different query operators in MongoDB treat null values differently. The examples on this page use the db.collection.find() method in the mongo shell. ...
分类:数据库技术   时间:2016-12-01 07:41:39    收藏:0  评论:0  赞:0  阅读:352
学期回顾
1.通过学期经历看学期初的问题 为什么看别人的代码那么费劲,自己写的代码别人也看不下去? 当时从书中照搬的关于代码规范方向的问题,固然是极其重要的一环,在此不多赘述。但是一学期的专业课下来,对代码“初学”的感觉越来越深,因为不熟练,所以看不懂。对不够努力的学生来说这是最最致命的问题,看到一段代码,第 ...
分类:其他   时间:2016-12-01 07:41:01    收藏:0  评论:0  赞:0  阅读:292
第十一周PSP
一、PSP表格 二、PSP饼状图 三、进度条 四、进度条柱状图 ...
分类:其他   时间:2016-12-01 07:40:45    收藏:0  评论:0  赞:0  阅读:180
树莓派启用root账户
树莓派使用的linux是debian系统,所以树莓派启用root和debian是相同的。 debian里root账户默认没有密码,但账户锁定。 当需要root权限时, 直接执行 即可切换为root用户。 树莓派默认用户是pi,密码为raspberry。 重新开启root账号,可由pi用户登录后,在命 ...
分类:其他   时间:2016-12-01 07:40:26    收藏:0  评论:0  赞:0  阅读:214
MongoDB - MongoDB CRUD Operations
CRUD operations create, read, update, and delete documents. Create Operations Create or insert operations add new documents to a collection. If the co ...
分类:数据库技术   时间:2016-12-01 07:40:04    收藏:0  评论:0  赞:0  阅读:331
1093条   上一页 1 ... 35 36 37 38 39 ... 55 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!