using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Global
{
class Program
{
static void Main(string[] args)
{
string first_x = Console.ReadLine();
int first_input = Convert.ToInt16(first_x);
int y = 1 - first_input;
y = y + 3 * Get_x();
y = y - 4 * Get_x();
Console.Write(y);
Console.Read();
}
static int Get_x()
{
string input = Console.ReadLine();
int x = Convert.ToInt16(input);
return x;
}
}
}
Объяснение:
5 секунд время
Объем = скорость * время = 1 024 000 * 5 = 5 120 000 бит
5 120 000 бит / 8 бит = 640 000 байт
640 000 байт / 1024 = 625 кбайт