you invite me to eat today, I see eat you say the second kind of bar. (I'm dizzy and I'm going to go around again)
P.s. Some friends say that I am a C + + birth, is not looking at Java. So I underestimated me, my article style has always been a way of ridicule, because I think such articles will be more interesting than those boring technical articles. I ridicule C + + and the programmer's article is less than ridicule Java, my view of C + + is alway
Small programmer's interesting question (i)
1. In a sorted array, find out the number of times an integer appears
Problem definition: Given an array of integers arr, the number of elements in the array is n, the array arr has been sorted out, to find out in arr the number of occurrences of an integer x, such as arr[] = {1,2,2,3,5,10}, find 2 of the occurrence is 2.
Problem Analysis: Phase must see ordered array of words, think of the use of two points
interesting interval xor value time limit (normal/java): ms/6000 MS running memory limit: 65536 KByteTotal submissions: 354 tested by: 35
Contest description
Generate a sequence according to the following rules when x > 0 o'clock a[x] = a[x-1] xor x, when x = = 0 o'clock, i.e. a[0] = 0, of course, the title is not so simple, there are n sets of queries, for each group of inquiry l,r, the output sequence A[l] XOR a[l+1] XOR a[l+2 ]...xor A[r-1] XOR A[r
This article mainly introduces some of the differences between git base commands that I find interesting in my daily development.
In daily development, contrast is the command that executes more frequentlyHead generally points to the last commit of the current branch, the following three kinds are my most common differences compared to git diff
Working tree and head differences that have not yet been staged git diff–cached
The difference between index
addition, I think, even if the key words conflict, whether there is a solution, in the online search, sure enough, the method still exists: Add two points to the table name, these two points are not single quotes or double quotes, as follows: If you want to see the table structure, you still need to add a double point to not error: that is, as long as the current table operation must be added two points and keyword distinction. Conclusion: The name of the table should not conflict with the
Collabedit is an interesting Online Code Editor http://collabedit.com/
Collabedit use is very simple, as long as to its home http://collabedit.com/index.html point that big button, you will be assigned an ID number, in the address bar can see this ID, as long as the address to each other can be. Collabedit can choose different languages for highlighting, which is very kind to write code.
Etherpad is another online collaborative editer
http://ethe
(score);To execute the query again:Select s.*from ( Select * from SC sc WHERE sc.c_id = 0 and Sc.score = + ) Tinner JOIN Student s on t.s_id = s.s_idExecution time: 0.001s, this time is quite reliable, 50 times times fasterExecution Plan:We'll see that the index is used to extract the SC first and then the table.Then execute the next SQL.SELECT s.* from Student sinner JOIN SC Scon sc.s_id = S.s_idwhere sc.c_id=0 and sc.score=
-be-sustained by perpetual neglect of many and other things. Robert Louis Stevenson (1850-1894)
[Email protected]:~/shell/26zhang$
Note this:#grep "$ (date +%b '%-d, '%Y)"-A2 |Since my Ubuntu is in Chinese, I have not been searching for November. I'm going to replace it with this one, only 28, 2017.grep ", $ (date +%y)"-a2 | # Xcy AddIt would have been like this grep "$ (date +%-d, '%Y)"-A2 | # xcy Add, don't know why my date is 29. And the site is 28. May be related to the U.S. website.26.3
($carBrand) empty ($carXi) empty ($carXing) empty ($carYear)) { $sql. = ' Left join Mega_good_chexi E on a.goods_id = e.good_id '; } $sql. = $where. ' ORDER BY ' $sort _by. ' Limit ' $limit;Note: Write wildcard SQL statement writing habits, regardless of the time of the query does not work, may use the table first from or join,If the condition that you want to query appears, add it inside the WHERE clause .... The resulting index do
Some interesting CSS questions (10) -- structural pseudo-class selector and css Selector
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibility is not taken into consideration in solving the problem. The question is just a blank question. What do you think of? If you have the
Folio series, talk about some interesting CSS topics, the topic type of unrestrained, think of what to say, not only to broaden the problem-solving ideas, but also related to some easy to ignore the CSS details.Problem-solving does not consider compatibility, the topic of unrestrained, think of what to say, if you feel the problem in the CSS properties of the rare, hurriedly to cram it.Constantly updated, constantly updated, constantly updated, import
The Internet is becoming more and more important. We can use it for work, study, and entertainment. In terms of entertainment, we play games, search, listen to, and download our favorite songs, videos, and movies on the Internet. The Internet is also a very good learning environment. It is helpful for us to find information and help us solve the problems we encounter. It is also widely used in the computer field, in particular, in program development, many people think that programming languages
Article Description: Creative Web layout and interactive design.
The difference between inspirational and creative design and general design is that it is not so easy to think and realize, and once it is implemented, a very interesting and fascinating website is born.
The site can be seen almost every day, but is not every site you will say "I wish I could have thought of it!" ”
What designers are doing is a great job of proposing and m
Some interesting CSS questions (8) -- The Tab switching solution for the pure CSS navigation bar and the css navigation bar
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibility is not taken into consideration in solving the problem. The question is just a blank question. Wh
be set to play between PM and am. Of course, if you want to play at any time, you can change your local time.
39. Interesting online face changes to animals (you can also change faces in Sichuan Opera !)
Http://youwild.org/
40. Sound collected as much as possible (an absolute "sound Museum)
Http://www.soundsnap.com/
41. anecdote encyclopedia!
Http://www.qiushibaike.com/
42. Movie Subtitle search
Http://www.shooter.com.cn/
43. Shi guangwang-movie comm
Some interesting CSS questions (11) -- what does reset.css know ?, Cssreset.css
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibility is not taken into consideration in solving the problem. The question is just a blank question. What do you think of? If you have the uncommon
Some interesting CSS questions (7) -- The problem of the disappearing boundary line and the css boundary line
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibility is not taken into consideration in solving the problem. The question is just a blank question. What do you thin
Deep test of special folders containing "." in Windows XP
To create a folder in Windows that is inaccessible to others, encryption software is generally used to complete this task. In fact, in Windows XP, no additional software is required. By using the features of the system, you can create an "encrypted" folder. Generally, you cannot directly view the content in the folder, what's more interesting is that during the experiment, we will have many ne
This is a creation in
Article, where the information may have evolved or changed.
Strictly speaking, this article is another piece of my article "Golang Funny:play with Channel" in Chinese version. However, after all, it is used in Chinese as the mother tongue, so it is not translated, re-wrote according to that content.
The channel is a very interesting feature in Golang, and in my experience of using Golang coding, most events will enjoy the pleasur
Some interesting CSS questions (9) -- cleverly implementing CSS diagonal lines and css diagonal lines
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibility is not taken into consideration in solving the problem. The question is just a blank question. What do you think of? If
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.