Вопрос задан 22.02.2019 в 06:25. Предмет Информатика. Спрашивает Кальонов Мирослав.

После уроков 4ученика решили и отлаживали задачи на компьютере. Первый полностью отладил задачку за

N минут (число вводится), все последующие тратили времени на 10 минут больше предыдущего. Сколько компьютерного времени им понадобилось?????? Помогите срочно нужно плиз
0 0
Перейти к ответам

Ответы на вопрос

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Михайлова Жанна.

Program Pr1;
uses crt;
var n,i,a,b,c:integer;
Begin
clrscr;
writeln('Vvedite N');
readln(n);
a:=n;
for i:=2 to 4 do begin
a:=a+10;
n:=n+a;
end;
writeln(n);
end.

0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

Calculating Computer Time for Debugging Tasks

To calculate the total computer time needed for debugging tasks, we can use the information provided. Let's break it down step by step.

1. First Student's Time: - The first student debugged the task in N minutes.

2. Subsequent Students' Time: - Each subsequent student spent 10 minutes more than the previous student.

Calculation

We can use the following formula to find the total time: Total Time = Time taken by the first student + Time taken by the second student + Time taken by the third student + Time taken by the fourth student

The time taken by the second, third, and fourth students can be represented as: N + (N + 10) + (N + 20) + (N + 30)

Total Computer Time

The total computer time needed for the debugging tasks can be calculated by adding the times taken by all the students.

Total Computer Time = N + (N + 10) + (N + 20) + (N + 30)

Final Calculation

Solving the equation: Total Computer Time = N + N + 10 + N + 20 + N + 30 Total Computer Time = 4N + 60

So, the total computer time needed for the debugging tasks is 4N + 60 minutes.

This calculation assumes that each student successfully debugged the task within the given time.

0 0

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос