Air Raid
Time Limit: 1000MS
 
Memory Limit: 10000K
Total Submissions: 6763
 
Accepted: 4034
Description
Consider a town where all the streets are one-way and each stree...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 02:05:37   
                                阅读次数:
220
                             
                         
                    
                        
                            
                            
                                修改的时候由于数据很小,所以可以直接暴力修改,查询的时候利用线段树就行了。
14337858
12299
RMQ with Shifts
Accepted
C++
0.282
2014-10-11 16:02:53
#include
#include
#include
#include
using namespace st...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 01:48:27   
                                阅读次数:
286
                             
                         
                    
                        
                            
                            
                                Partition List
 Total Accepted: 19761 Total
 Submissions: 73252My Submissions
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than ...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 01:31:37   
                                阅读次数:
317
                             
                         
                    
                        
                            
                            
                                转自 http://www.cnblogs.com/candywyq/archive/2007/07/24/830021.html1.Convert.ToInt32与Int32.Parse的恩恩怨怨 2.Split的3种用法 3.@"abc"和"abc"区别在那里 4.保留2位有效小数及四舍五入 5...
                            
                            
                         
                    
                        
                            
                            
                                刚才写zenktodo的时候,通过动态添加class的方式修改一个div的样式,总是不起作用。Css代码#navigator{height:100%;width:200;position:absolute;left:0;border:solid2#EEE;}.current_block{border...
                            
                            
                                分类:
Web程序   时间:
2014-10-12 02:37:27   
                                阅读次数:
489
                             
                         
                    
                        
                            
                            
                                这么久终于可以静下来整理一下工作上学到的东西了(主要还是自己太懒了。。)废话少说,正文开始在公司里,数据库用的基本都是Oracle,所以就学了一下Oracle的一点知识,现在整理一下自己遇到的问题和学到的一些东西。先说说自己经常搞混的内连接、外连接(大学里一直没搞懂。。)数据表之间有很多种连接方式,...
                            
                            
                                分类:
数据库   时间:
2014-10-12 01:13:57   
                                阅读次数:
196
                             
                         
                    
                        
                            
                            
                                ISO 9001:2008标准English – Chinese BilingualQuality management system – Requirement质量管理体系– 要求ISO 9001:2008Introduction引言0.1 General总则The adoption of a q...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 00:57:07   
                                阅读次数:
427
                             
                         
                    
                        
                            
                            
                                cadence16.X版本破解成功后,不用重启,就能正常运行程序。但有可能出现重启后,打开cadence时提示找不到license的情况,如下图:解决方法为:我的电脑,点右键,选“管理”,在弹出的计算机管理界面中,左侧选“服务和应用程序”中的“服务”,然后在右侧服务列表里找到“CadenceLice...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 02:03:37   
                                阅读次数:
1381
                             
                         
                    
                        
                            
                            
                                TOP层:boardgeometry/outlinemanufacturing/photoplot_outlineetch/toppin/topviaclass/topdrawingformat/title_data(加入注释文字,亦可根据习惯在其他层加入)GND层:boardgeometry/ou...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 02:03:27   
                                阅读次数:
933
                             
                         
                    
                        
                            
                            
                                直接暴力模拟 。以每次还未被删除的cnt[i]为一周期进行暴力模拟#include #include #include #include #include #include #include #include #include #include #include #include #include ...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 01:29:57   
                                阅读次数:
207
                             
                         
                    
                        
                            
                            
                                Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 02:03:07   
                                阅读次数:
213
                             
                         
                    
                        
                            
                            
                                为了提高网站的性能缓存是一把利器,nginx中可以配置fastcig_cache来缓存不需要实时获取的数据实现动静分离,nginx.conf配置如下: http { … fastcgi_connect_timeout 300;#指定连接到后端FastCGI的超时时间 fastcgi_send_tim...
                            
                            
                                分类:
Web程序   时间:
2014-10-12 02:19:37   
                                阅读次数:
320
                             
                         
                    
                        
                            
                            
                                已知函数 $f(x)={\rm e}^x-ax^2-bx-1$,其中 $a,b\in \bf R$,${\rm e}=2.71828\cdots$ 为自然对数的底.(1) 设 $g(x)$ 是函数 $f(x)$ 的导函数,求函数 $g(x)$ 在区间 $[0,1]$ 上的最小值;(2) 若 $f(1...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 01:12:27   
                                阅读次数:
184
                             
                         
                    
                        
                            
                            
                                先上代码,比较长。 1 # -*- coding=utf-8 -*- 2 __author__ = 'lhyz' 3 4 import urllib 5 import re 6 import socket 7 import time 8 import os 9 10 #使用当前时间创建文件夹11 ....
                            
                            
                                分类:
编程语言   时间:
2014-10-12 02:35:37   
                                阅读次数:
517
                             
                         
                    
                        
                            
                            
                                1、 添加WM_NCHITTEST消息2、 设置对话框属性System Menu 为False。如果不设置添加完代码以后对话框边框出现了箭头,但是窗口大小是固定的。3、 添加代码LRESULT CDialogZoomDlg::OnNcHitTest(CPoint point){ //...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 00:55:27   
                                阅读次数:
317
                             
                         
                    
                        
                            
                            
                                前言因为公司需要做一个关于linux下qt的开发,加上直接接触过一些qt,便开始临阵磨枪了。之前有用qt写过一个2048的游戏,大概3、4月份的时候,那会2048正火,想想自己在电脑上也做了一个~便默默的写了一个,界面有些丑陋,却五脏俱全~下次把思路和一些代码再归纳归纳,再写到博客里来。虽然写过一点...
                            
                            
                                分类:
编程语言   时间:
2014-10-12 02:35:17   
                                阅读次数:
440
                             
                         
                    
                        
                            
                            
                                已知 $\vec a,\vec b,\vec c$ 两两均不共线,$\vec a + \vec b \parallel \vec c$,$\vec b +\vec c\parallel \vec a$,求证:$\vec a+\vec b+\vec c=\vec 0$.根据题意,$\vec a + \...
                            
                            
                                分类:
其他好文   时间:
2014-10-12 00:54:57   
                                阅读次数:
183