Category: c / c++
The purpose is to limit the concurrent usage of a piece of software on the same machine (Physically) by other user sessions. This is to virtually limit that only …
The following puzzle is taken from Timus Online Judge and You can submit your solution at this URL: http://acm.timus.ru/problem.aspx?space=1&num=2025 We first compute the average size n/k so we can …
Using Magic Numbers is one of the causes of ugly code. For example, if you want to deal with two protocols, HTTP and FTP (to count the data packages), …
The echo always responses the same text as input until you terminates it by Ctrl+C or Ctrl+Z (End of Line). This is more useful than “Hello, World” in the …
Excel Column to Number Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A - 1 B - 2 C - …