Category: programming languages
This puzzle (click to submit solution to Timus Online Judge) is interesting. It is like a IQ test question at the beginning. Find out the missing number. The puzzle …
The puzzle is from Timus (submit your solution at this URL http://acm.timus.ru/problem.aspx?space=1&num=2033) There are 6 friends, and the input tells you the names of these friends (useless), the phones …
Haskell is the functional programming language (FP). FP allows users to write code in high level abstraction without considering too much implementation details. For example, the recursion is generally …
Consider the following circuit; The step response of this circuit may be expressed as follows; where t=time (in seconds) Write a function to calculate and return the value of …
My initial VPS (Virtual Private Server) only had 512M RAM, 1 core and 10G HDD. Later I upgraded to 2 cores, 1G RAM and 20G HDD because of an …