up with boys who have never had a fight with them. 2. diagram .. 0 is the source point, 2 * n + 1 is the girl number of the sink point is 1-N, the boys' number is n + 1-2 * n. The Edge Weight of a boy who has not had a quarrel with him is 10-(1-n). The Edge Weight is mid .. (N + 1-2 * n) to 2 * n + 1 structured Edge Weight mid as to the mid value, then the binary search .. The value range of mid is [0-N]. Why n .. You can play up to N games as required. Assume that the final network stream is N
In the article "view how search engine spider crawls your website through HTTP status code", I introduced some frequently-involved HTTP status codes and their meanings, for example, the HTTP Status Code 404 related to this article is frequently discussed: the server cannot find the specified resource and the requested webpage does not exist (for example, the webpage requested by the browser is deleted or moved, but it does not rule out the possibility that the link will be valid in the future );
entry point-0 is stored only; do not use any ZIP compression-M do not create a project list file-I generate index information for the specified jar file-C change to the specified directory and contain the files if there is any directory file, then it is recursively processed. The order of configuration file name, archive file name, and entry name is the same as that of m, f, and e.
Example 1 Archive two class files to an archive file named classes. jar:
jar cvf classes.jar Foo.class Bar.class
E
prohibited: Password Change
HTTP 403.12-Access prohibited: mappers reject access
HTTP 403.13-Access prohibited: the client certificate has been revoked
HTTP 403.15-Access prohibited: too many access permits from customers
HTTP 403.16-Access prohibited: the client certificate is untrusted or invalid
HTTP 403.17-Access prohibited: the client certificate has expired or has not yet taken effect
HTTP 404.1-not foundWebSite
HTTP 404-file not found
HTTP 405-the resource is forbidden
HTTP 406-unaccepta
this time, even if you select a, you will find that the number of data packets page does not change, because the cache is mainly for resource files
2.Select E (f)
Result: a total of 102 data packets are obtained, two connections are established (marked in red), and two are disconnected (marked in blue)
No. Time Source Destination Protocol Info 1 0.000000 192.168.1.61 203.81.29.137 TCP 13886 > http [SYN] Seq=0 Len=0 MSS=1460 WS=2 2 0.03701
(no choice to download the resource file into CSS, JS, GIF, etc.), and you can see that only one TCP connection is established when you open the home page four times.
At this time, even if you select a, you will find that the number of data packets page does not change, because the cache is mainly for resource files
2. Select E (f)
Result: a total of 102 data packets are obtained, two connections are established (marked in red), and two are disconnected (marked in blue)
No. Time source Destinat
: unauthorized access-unauthorized access to data from the client
403
The server has understood the request but refused to execute it. Different from 401 responses, authentication cannot provide any help and the request should not be submitted repeatedly. If this is not a head request and the server wants to clarify why the request cannot be executed, the reason for rejection should be described in the entity. Of course, the server can also return a 404 response, if it does not want the client
return a new time value.Usage: dateadd (datepart, number, date)Parameter description: datepart (same as above)Date (same as above)The value to be added by number. It is an integer that can be positive or negative. A positive value returns the time value after date, and a negative value returns the date.Previous time valueExample:Select getdate () as todaySelect dateadd (day,-1, getdate ())Select dateadd (day, 1, getdate ())Output:Today---------------------------19:42:41.
), but indicates that the client must first authenticate it.408= Request Timeout: The client did not produce a request during the time the server was ready to wait. Newly added to HTTP 1.1.409= "Conflict" conflict: Unable to complete the request because of a conflict with the current state of the resource. This state is typically used with a put request, and the 409 state is often used when attempting to upload an incorrect version of a file. The status code is newly added to HTTP 1.1.>>>
personalized page that "the resource you requested could not be found"
405
Method not allowed
The method in the client request is forbidden
50W
Not acceptable
The server cannot complete the request based on the content attributes requested by the client
407
Proxy Authentication Required
The request requires the authentication of the agent, similar to 401, but the requestor should use the proxy for authorization
server handles the request and a conflict occurs
410
Gone www.foodtvl.com
The resource requested by the client no longer exists. 410 is different from 404, if the resource is now permanently deleted and can use 410 code, the site designer can specify a new location for the resource through 301 code
411
Length Required
Conflict
It is possible for the server to complete a put request from the client to return this code when the server handles the request and a conflict occurs
410
Gone
The resource requested by the client no longer exists. 410 is different from 404, if the resource is now permanently deleted and can use 410 code, the site design
However, if the process is executed above the background, its parent process is still the process of the current terminal shell, and once the parent process exits, the hangup signal is sent to all child processes, and the child process will exit after receiving hangup. If we are going to continue running the process while exiting the shell, we need to use nohup to ignore the hangup signal, or SETSID to set the parent process to the INIT process (process number 1)$ echo $$21734$ nohup./test.sh [
the shell, we need to use nohup to ignore the hangup signal, or setsid to set the parent process to the INIT process (process number 1)21734 [1] 29016 515 29710 21734 0 11:47 PTS/12 515 29713 21734 0 11:47 PTS/12 [1] 409 515 410 1 0 11:49? 515 413 21734 0 11:49 PTS/12 The above experiment demonstrates the use of Nohup/setsid plus to make the process run in the background without being affected by the c
tesh.sh that is executing in the foreground:$./test.sh[1]+ Stopped./test.sh$ bg%1[1]+./test.sh $ jobs-l[1]+ 22794 Running./test.sh However, if the process is executed above the background, its parent process is still the process of the current terminal shell, and once the parent process exits, the hangup signal is sent to all child processes, and the child process will exit after receiving hangup. If we are going to continue running the process while exiting the shell, we need to use nohup to i
:$./test.sh[1]+ Stopped./test.sh$ bg%1[1]+./test.sh $ jobs-l[1]+ 22794 Running./test.sh However, if the process is executed above the background, its parent process is still the process of the current terminal shell, and once the parent process exits, the hangup signal is sent to all child processes, and the child process will exit after receiving hangup. If we are going to continue running the process while exiting the shell, we need to use nohup to ignore the hangup signal, or SETSID to set th
to all child processes, and the child process will exit after receiving hangup. If we are going to continue running the process while exiting the shell, we need to use nohup to ignore the hangup signal, or SETSID to set the parent process to the INIT process (process number 1)$ echo $$21734$ nohup./test.sh [1] 29016$ PS-EF | grep test515 29710 21734 0 11:47 pts/12 00:00:00/bin/sh./test.sh515 29713 21734 0 11:47 pts/12 00:00:00 grep test$ setsid./test.sh [1] 409$ PS-EF | grep test515
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.