首页 > 其他
字,字节,字符,位理解
字节(Byte /bait/ n. [C])是计算机信息技术中,用于计量存储容量的一种计量单位。 字节(Byte /bait/ n. [C])也表示一些计算机编程语言中的数据类型和语言字符。字符与字节的区别 ASCII码:一个英文字母(不分大小写)占一个字节的空间,一个中文汉字占两个字节的空间。 一...
分类:其他   时间:2015-12-06 11:30:45    收藏:0  评论:0  赞:0  阅读:200
1051. Pop Sequence (25)
用一个vector 模拟栈每次检查输入,如果大于上次出栈的检查是否满足范围要求。满足的话将中间的数压栈如果小于上次出栈的检查是否为栈尾。满足的话最后一个数出栈Given a stack which can keep M numbers at most. Push N numbers in the o...
分类:其他   时间:2015-12-06 11:30:25    收藏:0  评论:0  赞:0  阅读:229
1031. Hello World for U (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven any string of N (>=5) characters, you are asked to form the characters into the shape ...
分类:其他   时间:2015-12-06 11:30:15    收藏:0  评论:0  赞:0  阅读:134
1047. Student List for Course (25)
时间限制400 ms内存限制64000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 40000 students and provides 2500 courses. Now given the registered c...
分类:其他   时间:2015-12-06 11:29:35    收藏:0  评论:0  赞:0  阅读:177
TCP/IP详解之:IGMP和DNS
第13章 IGMP:Internet组管理协议IGMP用于支持主机和路由器进行多播;IGMP是IP层的一部分,IGMP报文通过IP数据报进行传输:IGMP报文长度为固定8 Byte:报文中,IGMP类型为1表示由多播路由器发出的查询报文,为2说明是主机发出的报告报文;
分类:其他   时间:2015-12-06 11:29:25    收藏:0  评论:0  赞:0  阅读:242
1021. Deepest Root (25)
首先计算连通分量。dfs然后分两种情况,n数目很小的时候对每个节点dfs,n大的时候超时n数目大的时候计算只具有单边的节点数。n小的时候答案错误两者结合就好了,当然这是一种不可取的办法。。。。。A graph which is connected and acyclic can be conside...
分类:其他   时间:2015-12-06 11:28:55    收藏:0  评论:0  赞:0  阅读:123
VCS filelist 文件格式
VCS在运行仿真一般都会加仿真参数 –f filelist,filelist 是包含其他的仿真参数和整个工程的文件列表。具体格式如下: //file list format, just for example +v2k -sverilog +define+USE_ASYNC_FIFO +incdir...
分类:其他   时间:2015-12-06 11:28:45    收藏:0  评论:0  赞:0  阅读:3726
1041. Be Unique (20)
注意n的值很大的时候不能使用两层嵌套算法,这样执行时间将会很长时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBeing unique is so important to people on Mars that even thei...
分类:其他   时间:2015-12-06 11:28:35    收藏:0  评论:0  赞:0  阅读:165
1019. General Palindromic Number (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it is written forwards or backwards is known as a Palind...
分类:其他   时间:2015-12-06 11:27:55    收藏:0  评论:0  赞:0  阅读:190
1022. Digital Library (30)
A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years...
分类:其他   时间:2015-12-06 11:27:45    收藏:0  评论:0  赞:0  阅读:255
1026. Table Tennis (30)
注意数据合法性的检测。26分的时候 有人打了两个多小时,只能打两个小时,有人9点之后来的,要排除。时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available ...
分类:其他   时间:2015-12-06 11:27:35    收藏:0  评论:0  赞:0  阅读:221
1039. Course List for Student (25)
1039. Course List for Student (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 40000 students and provides 2500 c...
分类:其他   时间:2015-12-06 11:27:25    收藏:0  评论:0  赞:0  阅读:180
“以软件开发生命周期来说明不同的测试的使用情况”
我们所使用的测试方法有以下几种功能测试单元测试(使用场景:在编码阶段,每完成一段相对完整的代码块时,单元测试几乎贯穿整个编码过程)黑盒测试(使用场景:在编码阶段,没完成一各相对独立的模块时,例如京东的用户登陆模块完成后,软件测试人员使用编好的测试用例,判断该模块是否通过)白盒测试(使用场景:在编码阶...
分类:其他   时间:2015-12-06 11:26:45    收藏:0  评论:0  赞:0  阅读:177
网图片查看器
public void on(View view){ //获取网络图片的地址 String path="http://192.168.1.6:8080/Image/meinv.jpg"; //发送http请求 try { //使用网址构建一个URL对象 ...
分类:其他   时间:2015-12-06 11:26:35    收藏:0  评论:0  赞:0  阅读:188
1048. Find Coins (25)
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou...
分类:其他   时间:2015-12-06 11:26:25    收藏:0  评论:0  赞:0  阅读:169
1034. Head of a Gang (30)
注意这里n是电话数,电话数不超过1000代表人数不超过两千,。。。好坑。。。。时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOne way that the police finds the head of a gang is t...
分类:其他   时间:2015-12-06 11:26:15    收藏:0  评论:0  赞:0  阅读:207
1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135...
分类:其他   时间:2015-12-06 11:26:05    收藏:0  评论:0  赞:0  阅读:176
1044. Shopping in Mars (25)
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making ...
分类:其他   时间:2015-12-06 11:25:25    收藏:0  评论:0  赞:0  阅读:250
226_Invert Binary Tree
反转二叉树,将每个节点的左节点和右节点交换可以使用递归方法,先将交换函数在左节点和右节点递归下去,然后再交换左右节点C:/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct T...
分类:其他   时间:2015-12-06 11:25:15    收藏:0  评论:0  赞:0  阅读:254
1050. String Subtraction (20)
Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to c...
分类:其他   时间:2015-12-06 11:25:05    收藏:0  评论:0  赞:0  阅读:238
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!