Pull to refresh
6
-2

User

Send message

Моделирование движения космических объектов (симулятор гравитации)

Level of difficultyEasy
Reading time6 min
Views5.3K

Моделирование планетарного ускорения, солнечной системы и взаимодействия любого количества объектов на космической карте в замкнутой системе!

Читать далее
Total votes 5: ↑4 and ↓1+4
Comments31

Pixel image rotation

Level of difficultyEasy
Reading time13 min
Views1.3K

Brief problem formulation

The program accepts as input the absolute path to the image in the bmp extension and the path where you save the result of the work. Then, it rotates the image by 90 degrees counterclockwise. Afterwards, the program saves the new image.

The program is executed on C.

Read more
Total votes 4: ↑2 and ↓2+3
Comments0

Blinking into Morse code

Level of difficultyEasy
Reading time10 min
Views1.8K

Explaining main algorithm.

For a while I’ve been thinking of writing a scientific article. I wanted it to have certain utility.

Morse code is binary: it takes only two values – either dot (short) or hyphen (long). I figured out that short (s) can stand for two-eye blinking whilst long (l) can indicate left-eye blinking. Another question emerged: how to understand when does one-symbol recording stop?

Empty space between two symbols can be presented by right-eye blinking – r. If I input singly symbol of short (dot) and long (hyphen), I will blink my right eye once to indicate the space between two symbols.

To separate independent words, one has to blink her right eye twice and get rr.

Hence, I have collected an ordered set of symbols – r, l, s, - that can be converted into a full-fledged text. Once I accomplish the transformation, I get an answer.

Read more
Total votes 6: ↑6 and ↓0+6
Comments2

Information

Rating
Does not participate
Registered
Activity

Specialization

Software Developer, Game Developer
Intern
Git
OOP
Python
PostgreSQL
Java
C++
C
Object-oriented design
Algorithms and data structures
Game Development