169 похожих чатов

{ Progger: { // specialization type 'Progger' salary: 1000, // salary after

tax; should be integer; min: 100, max: 100000
tax: "15%" // tax percent; presented as string with template {tax}% where
// 'tax' is integer; min: "0%", max: "99%"
},
Tester: {
salary: 1000,
tax: "10%"
}
}
[
{
name: "Masha", // name of team member
specialization: "Progger", // specialization should be picked from salaries
// otherwise member should be ignored in report
},
{
name: "Vasya",
specialization: "Tester",
},
{
name: "Taras",
specialization: "Tester",
},
];
{
totalBudgetTeam: 3398, // total salaries with tax of entire team; should be integer
(truncate the fractional part after all calculations)
totalBudgetProgger: 1176, // total salaries with tax for all members by 'Progger'
specialization; should be integer (truncate the fractional part after all calculations)
// totalBudgetTester: 2222, // total salaries with tax for all members by 'Tester'
specialization; should be integer (truncate the fractional part after all calculations)
}

Каким образом здесь получаются такие числа? 3398, 1176, 2222

4 ответов

2 просмотра
syntax.- Автор вопроса

https://codesandbox.io/s/kkkk-951zi7?file=/src/index.js

syntax.
https://codesandbox.io/s/kkkk-951zi7?file=/src/ind...

А где само задание то? Что надо сделать?

syntax.- Автор вопроса
stay calm
А где само задание то? Что надо сделать?

The accounting department turned to the IT department with a request to help with the financial report on the work of teams on the vendor side. It is known that the teams consist of a different number of specialists in different categories. It is also known that each category of specialists has its own fixed salary after taxes and this tax rate. Accounting must calculate the cost of the services for each specialty and the entire team. Your team leader has prepared a function template that will perform the task. You need to implement this function.

syntax.- Автор вопроса
syntax.
The accounting department turned to the IT departm...

но здесь абстрактно описано, по сути всё они описали в комментах, но как дойти до такого вывода как у них не понимаю

Похожие вопросы

Обсуждают сегодня

А кто-нибудь запихивал сборку перловых модулей/образов с perl приложениями в окружения без интернета (в специализированном CI/CD)? У меня сейчас есть ряд cpanfile, которые н...
Andrey Smirnov / 𝓪𝓵𝓵𝓽𝓮𝓻 /
14
Вместо import и library придется писать importlib?
The Bird of Hermes
19
вот что получается в интерпрететоре, работает и результаты выгляд разумными, но то как выглядит код мне не нравиться, а понять куда двигаться не очень могу, если кому не лень ...
Fedor
42
а как с таким борятся ? про термин стак тут мне пока не попадалось ghci> foldr (\(CotMD n ctM _) (mstep,pos) -> if ctM > mstep then (ctM, n) else (mstep, pos)) (0,0) $ take ...
Fedor
13
А ещё docker можно к ассемблеру прикрутить. В целом, системы сборки это настолько несвязанная вещь... Это оффтоп, можно сказать, во всех чатах. Это просто проект, который помо...
КТ315
22
вот вопрос, вот про это type Events = [String] type Probs = [Double] у курта есть задание Если бы ваши типы Events и Probs были самостоятель­ ными типами данных, а не просто...
Fedor
8
Привет, а не сталкивался ли кто с тем, что поиск по тв-шкам с помощью SiteContent и tvFiler просто ужасающе тормозит. Например при 5-7 значениях тв в поиске и 150тыс ресурсах ...
Oleg Nosov
5
получается, что он находит одинаковое колво тегов, с разными именами, или я что тто не понял в таксоупе ?
Fedor
46
сурсы: import std/asyncdispatch, std/httpclient, std/json, std/sequtils, std/strutils, std/unicode, std/unidecode, std/uri, uuid4, regex const GPT4_API...
Qtless Qtless
4
вот еще вопрос ошибка app/Main.hs:135:13: error: [GHC-83865] • Couldn't match type: MoveInfo -> Coords with: (Int, Int) Expected: Coords ...
Fedor
21
Карта сайта