码迷,mamicode.com
首页 > 其他好文
1090. Highest Price in Supply Chain (25)
时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- every...
分类:其他好文   时间:2015-12-06 12:47:35    阅读次数:124
1067. Sort with Swap(0,*) (25)
Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation tha...
分类:其他好文   时间:2015-12-06 12:48:15    阅读次数:119
1073. Scientific Notation (20)
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+-...
分类:其他好文   时间:2015-12-06 12:49:04    阅读次数:126
1054. The Dominant Color (20)
挺简单的,多占内存,少用循环Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an ima...
分类:其他好文   时间:2015-12-06 12:49:00    阅读次数:126
1066. Root of AVL Tree (25)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAn AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two c...
分类:其他好文   时间:2015-12-06 12:48:00    阅读次数:135
1076. Forwards on Weibo (30)
输入需要稍作变换,变为一个每个人和他的关注者的map 而不是他和他的关注人、然后bfs搜索。注意搜索层数的要求。Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, a...
分类:其他好文   时间:2015-12-06 12:47:18    阅读次数:116
1062. Talent and Virtue (25)
About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor...
分类:其他好文   时间:2015-12-06 12:47:24    阅读次数:163
1064. Complete Binary Search Tree (30)
根据中序遍历建立完全二叉树。时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has t...
分类:其他好文   时间:2015-12-06 12:47:14    阅读次数:124
信息安全系统设计基础第十二周学习总结—20135227黄晓妍
第十二章 并发编程 操作系统提供了三种基本的构造并发程序的方法: 1、进程。每个逻辑控制流都是一个进程,由内核来调度和维护; 2、I/O多路复用。 3、线程。 一、基于进程的并发编程 在接受连接请求之后,服务器派生出一个子进程,这个子进程获得服务器描述表完整的拷贝。子进程关闭它的拷贝中监听...
分类:其他好文   时间:2015-12-06 11:33:49    阅读次数:190
1052. Linked List Sorting (25)
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:其他好文   时间:2015-12-06 11:33:28    阅读次数:157
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:31:34    阅读次数:174
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:33:14    阅读次数:137
03.插入ole控件,insert contrl 崩溃
pb ole 调用网页显示;_ 找不到Microsoft WebBrowser,在insert contrl里-------------------pb一点击insert contrl就崩溃按照参考②里的,反注册mstscax.dll报错,(dll名在导出的reg文件里是二进制,在regedit里看...
分类:其他好文   时间:2015-12-06 11:29:31    阅读次数:157
VCS filelist 文件格式
VCS在运行仿真一般都会加仿真参数 –f filelist,filelist 是包含其他的仿真参数和整个工程的文件列表。具体格式如下: //file list format, just for example +v2k -sverilog +define+USE_ASYNC_FIFO +incdir...
分类:其他好文   时间:2015-12-06 11:31:59    阅读次数:706
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:30:59    阅读次数:150
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:29:44    阅读次数:167
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:29:44    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!