Solve the task «Modern Development Tools Task» and win a prize for the best result [ver.2]

DEADLINE FOR SUBMISSION YOUR SOLUTION TO THE PROBLEM: FEBRUARY 20
Tech Talk with Huawei R&D for students of MSU [Faculty], 25.02.2022, 15:00 - 17:00

Dear students of MSU [Faculty],

Huawei Russian Research Institute invites you to Tech Talk with Huawei R&D  for students of MSU [Faculty]!

When: 25.02.2022, 15:00 – 17:00

Where: [Faculty] of Moscow State University, room №_


As part of this event, we invite you to participate in the competition by solving the problem from Andrey Bokhanko, the main speaker of the event, director of the Advanced Software Technologies Laboratory of the Huawei Russian Research Institute!

For a successful solution of the problem you will receive:

1st place – HUAWEI WATCH 3 Pro

2nd place – HUAWEI Freebuds Pro

3rd place – HUAWEI WATCH FIT

Task:


To solve this task, you need access to a computer with an installed C compiler. A standard Linux distro is perfectly fine!


The goal is simple: make three simple programs execute as fast as possible!

The rules are:

1) You can (and should!) use different compiler options to get maximum performance out of your compiler. You can do so by changing compile_and_run.sh file.

2) There is only one exception: you *can’t* use inter-procedural optimizations (-flto, -ipo and the like).

3) You can (and should!) modify non-main.c files. You *can’t* modify main.c.

4) Each test prints “Elapsed time” after completion. Make these numbers as small as possible (while preserving semantic!) and you’ll win!

Important:

In order to receive a file with source files, please fill in to the registration form. We will send you an archive with source files in response to your application.


Please submit your results (as an archive containing all the files after your changes), responding to this task.

DEADLINE FOR SUBMISSION YOUR SOLUTION TO THE PROBLEM: FEBRUARY, 20