[Algorithm] PROBLEM GetString

Given a string S of length not exceeding 10 ^ 5, and set A with n elements(n≤100) consisting of ASCII characters, are case sensitive. Look for consecutive substring in S that contain the complete set of characters in A and the shortest length. (Consecutive substring is the string with the characters in the order of A and possible ways […]

[Compound] VMTEST – Try machine

Threads: Compound – VMTEST simply reads each string s check[1] there is'?’ not? and continue to do: If s[1] letters, the browser is out s, if encountered s[in] letters shall not escape, and in “Error !”. If s[1] the number or '-‘ or '.’ then copy clusters (phrases separated by spaces) Change the number, if change is then added to […]

[C/C Linux] Programming C with palette in linux – Programming C in linux with color

An example opening nhá: A little fuller: If you are interested in more then here.

[C / C ] Text color in Dev-C – How do change color of text in Dev C

To write letters colored in Dev-C ++ you only need to use the system(“color xy”); Where x is the background color, y is the text color: But on the way back with an error if the entire set different color font color will be there, ie the colored letters that we finally put color. To fix it you have to learn and know the function (using the library […]

[WordPress] Insert a youtube video on wordpress.com – Insert video youtube in wordpress.com

How to 1: Quick Way 2: Adjustable size

[Algorithm] Ma methods – Magic square

In math fun, Magic matrix of degree n (also known as ma or the magic square) an arrangement of n², usually distinct integers, in a square table so that the total number in each row n, post, and diagonals are equal standard dental Magic square contains the integers from 1 to n². Magic square exists for every standard […]

[WordPress] Insert music on wordpress.com – Insert music to wordpress.com

Surely you know a way to insert music on WordPress. It is used Soundcloud. But using Soundcloud has a rather inconvenient. That's it limits the duration of the tracks are up to. Moreover, stick miss all of the British or American artists as it is not always up. So in this post, I will guide you to put music […]

[Algorithm] Calculate the value of expression

Balan inverse method or expression tree will make new friends learn embarrassing. This is an extremely simple method you can understand and apply the simple expression include 2 operations + and * CEO: 2*5+3+4*3+2 Calculation: If the expression has allowed + then take the first expression + Conversely section final expression if the expression […]

[Java] Replace characters by way String.replaceAll – Replace a plus character using Java’s String.replaceAll method

In some signs TH [ ^ $ . | ? * + ( ) called the special symbols. Want to replace them, Ex-character + chain do: or

[Eclipse] Import project in Eclipse

If you've installed the Eclipse that had previously been doing some project then you need to Import they can open. File -> Import Nhấn Next. Then click the Browse button to navigate to the folder containing the project. Select Project to import and click Finish, attention when selecting the folder containing the project you have to press OK, not double.