-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newtask 515845 #2092
base: devel
Are you sure you want to change the base?
Newtask 515845 #2092
Conversation
zdn/matege2025b/15/515845.js
Outdated
text: ['Число', 'Количество'].iz() + ' дорожно-транспортных происшествий (ДТП) в летний период составило ' + parseFloat((statisticForSummer).toFixed(2)) + | ||
' числа ДТП в зимний период. На сколько процентов ' + difference[slTime1] + | ||
' число дорожно-транспортных происшествий ' + time[slTime1] + [' по сравнению ', ' в сравнении '].iz() + 'с ' + | ||
time[slTime2] + ' ?', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь можно обойтись 1-slTime1
zdn/matege2025b/15/515845.js
Outdated
let slTime2 = (slTime1 + 1) % 2; | ||
NAtask.setTask({ | ||
text: ['Число', 'Количество'].iz() + ' дорожно-транспортных происшествий (ДТП) в летний период составило ' + parseFloat((statisticForSummer).toFixed(2)) + | ||
' числа ДТП в зимний период. На сколько процентов ' + difference[slTime1] + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Раз уж берётесь менять число/количество, так везде и меняйте.
zdn/matege2025b/15/515845.js
Outdated
let slTime1 = sl1(); | ||
let slTime2 = (slTime1 + 1) % 2; | ||
NAtask.setTask({ | ||
text: ['Число', 'Количество'].iz() + ' дорожно-транспортных происшествий (ДТП) в летний период составило ' + parseFloat((statisticForSummer).toFixed(2)) + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseFloat((statisticForSummer).toFixed(2))
Зачем это? (Вопрос не риторический)
Поможет ли вместо этого statisticForSummer.ts()
?
zdn/matege2025b/15/515845.js
Outdated
let slTime1 = sl1(); | ||
let slTime2 = (slTime1 + 1) % 2; | ||
NAtask.setTask({ | ||
text: ['Число', 'Количество'].iz() + ' дорожно-транспортных происшествий (ДТП) в летний период составило ' + parseFloat((statisticForSummer).toFixed(2)) + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давайте проявим фантазию и подумаем, статистика чего ещё ведёт себя аналогичным образом? Ну, чтобы гуглилось хуже. Чего ещё зимой больше, чем летом? Переломов? Повреждений кровли? Проявите фантазию!
… изменяется везде, добавлена функция ts(), добавлен массив возможных происшествий для разнообразия генерируемых заданий
No description provided.