Can you count the number of tasks

Algebra Level 3

A computer can handle 3 t a s k s / s e c 3 \ tasks/sec and every 10 s e c 10 \ sec the computer stops for 1 s e c 1 \ sec to store data. If the computer works for a total time equal to 2018 s e c 2018 \ sec , find the total number of tasks that it finished during that time.


The answer is 5505.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Romain Bouchard
Feb 1, 2018

The computer performs 3 × 10 + 0 = 30 t a s k s 3 \times 10 + 0 = 30 \space tasks in 11 s e c s 11 \space secs i.e. 2018 11 × 30 + ( 2018 2018 11 × 30 ) × 3 = 5505 t a s k s \lfloor\frac{2018}{11}\rfloor\times 30 + (2018-\lfloor\frac{2018}{11}\rfloor\times 30)\times 3 = 5505 \space tasks in 2018 s e c s 2018 \space secs .

Gazar Khalid
Jul 14, 2020

We can generalize the situation in this way

After this ,it is just a matter of substituting n=2018 seconds to get 5505 tasks as the answer.

Kowshal Choodi
Feb 15, 2018

of every 11 seconds one second is not productive (total)/11 rounded down = number of unproductive seconds. therefore total - unproductive = productive seconds. Every productive second 3 tasks are done. Therefore amount of tasks = 3*productive . In the case of this question :

(2018 - floor(2018/11) ) * 3 = (2018 - 183)*3 = 5505

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...