alien_user's blog

By alien_user, history, 20 months ago, In English

The Day of the Programmer is a professional day that is celebrated on the 256th (hexadecimal 100th, or the 2^8th) day of each year (September 13 during common years and on September 12 in leap years).

The number 256 (2^8) was chosen because it is the number of distinct values that can be represented with a byte, a value well known to programmers. 256 is also the highest power of two that is less than 365, the number of days in a common year.

Give a big thanks to the programmers who make the technological world run, from your favorite apps to video games and websites and much more.

Wishing nothing but more strength to their eyes, minds and hands on this Programmer's Day. -Happy 256th Day of the year or some would say a Happy Programmer's Day to you. -While being alive, we eat, we play, we enjoy and most importantly we code.

Full text and comments »

  • Vote: I like it
  • +40
  • Vote: I do not like it

By alien_user, history, 20 months ago, In English

1.Typeracer

Typeracer is a game of competition that drives your desire to type faster to beat the opponents. The quicker the keys are stroked, the faster your car moves along the track. Essentially, whoever finished the paragraph first has the fastest moving car and will win the game.

Play with random users, a friend, or on your own for practice. Create an account before you begin to save your scores on the leaderboard and see how you compare to the other users.

2.Monkeytype

Monkeytype is a minimalistic and customizable typing test. It features many test modes, an account system to save your typing speed history, and user-configurable features such as themes, sounds, a smooth caret, and more. Monkeytype attempts to emulate the experience of natural typing during a typing test, by unobtrusively presenting the text prompts and displaying typed characters in-place, providing straightforward, real-time feedback on typos, speed, and accuracy.

3.TypingWeb’s Free Tutor

Use TypingWeb to learn the structure of typing and then keep going through the tutorials to master your own accuracy and WPM goals.

After making a new account, you can choose any course level from beginner to advanced or specialty lessons. Each row of the keyboard has a dedicated lesson so it’s not too advanced even for complete novice users. After going through multiple lessons, TypingWeb learns which keys cause you the most difficulty and will create a custom lesson based on those specific areas.

Links:

Typeracer

Monkeytype

TypingWeb

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By alien_user, history, 20 months ago, In English

By calculating the time complexity of an algorithm, it is possible to check, before implementing the algorithm, that it is efficient enough for the problem. The starting point for estimations is the fact that a modern computer can perform some hundreds of millions of operations in a second.

For example, assume that the time limit for a problem is one second and the input size is n = 10^5. If the time complexity is O(n^2), the algorithm will perform about (10^5)^2 = 10^10 operations. This should take at least some tens of seconds, so the algorithm seems to be too slow for solving the problem.

On the other hand, given the input size, we can try to guess the required time complexity of the algorithm that solves the problem. The following table contains some useful estimates assuming a time limit of one second.

input size -> required time complexity

n ≤ 10 -> O(n!)

n ≤ 20 -> O(2^n)

n ≤ 500 -> O(n^3)

n ≤ 5000 -> O(n^2)

n ≤ 10^6 -> O(n log n) or O(n)

n is large -> O(1) or O(log n)

For example, if the input size is n = 10^5, it is probably expected that the time complexity of the algorithm is O(n) or O(n log n). This information makes it easier to design the algorithm, because it rules out approaches that would yield an algorithm with a worse time complexity

Full text and comments »

  • Vote: I like it
  • +16
  • Vote: I do not like it

By alien_user, history, 21 month(s) ago, translation, In English

Hey Codeforces,

The 34th International Olympiad in Informatics

Host: Yogyakarta, Indonesia

Dates: 07 August 2022 – 15 August 2022

Contest Day 1 score results is out!

Good job everyone and keep up the spirit until Contest Day 2!

Visit Official Website: IOI 2022 Ranking

Full text and comments »

  • Vote: I like it
  • -32
  • Vote: I do not like it