Предмет: Информатика, автор: 5ffff

Сколько шестизначных чисел содержит ровно две различные цифры?

Ответы

Автор ответа: logenorisec
3
Пусть A = кол-во различных выборов 2 мест для цифр из 6, пусть B = кол-во двузначных чисел, пусть C = кол-во возможностей выбора остальных четырех цифр.
A = 5 + 4 + 3 + 2 + 1 = 3 * 5 = 15
B = 100
C = 10
A*B*C = 15000
Теперь отнимем все решения, при которых первая цифра 0:
Ответ = 15000 - 5*10*10 - (4+3+2+1) * 100 * 1 = 15000 - 500 - 1000 = 13500
Похожие вопросы
Предмет: Литература, автор: Аноним
Предмет: Немецкий язык, автор: shapovalova241
Предмет: Английский язык, автор: Аноним
1 задание
Read these phrases and change them into the past continuous. Study the example. Don't use punctuation marks.

Example 0.

He jumps

Answer 0.

He was jumping

1. They drink
2. He writes
3. He chooses

2 задание
Read these words and make a negative sentence or a question in the past continuous with full verb forms. Don’t forget about question marks and full stops.

Примечание:

Предложение должно начинаться с заглавной буквы и заканчиваться точкой или вопросительным знаком. Отрицательная форма не должна быть сокращенной.

Example 0. cook/ he/ at 6 pm yesterday/ not.

Answer 0. He was not cooking at 6 pm yesterday.

Example 1. play games/ she/ from 3 to 4 pm yesterday?

Answer 1. Was she playing games from 3 to 4 pm yesterday?

My brother/ not/ sail/ from 2 to 3 pm yesterday.
3 задание
Read these words and make a negative sentence or a question in the past continuous with full verb forms. Don’t forget about question marks and full stops.

Примечание:

Предложение должно начинаться с заглавной буквы и заканчиваться точкой или вопросительным знаком. Отрицательная форма не должна быть сокращенной.

Example 0. cook/ he/ at 6 pm yesterday/ not.

Answer 0. He was not cooking at 6 pm yesterday.

Example 1. play games/ she/ from 3 to 4 pm yesterday?

Answer 1. Was she playing games from 3 to 4 pm yesterday?

the friends/ go home/ from school/ at 5 o’clock yesterday?
4 задание
Read the sentence and complete it by putting the verb in brackets in the past continuous. Don’t forget about question marks and full stops.

Примечание:

Предложение должно начинаться с заглавной буквы и заканчиваться точкой или вопросительным знаком.

Example 0. They ______ (have) dinner at five o'clock.

Answer 0. They were having dinner at five o'clock.

Example 1. What ______ (happen) at the time of that robbery?

Answer 1. What was happening at the time of that robbery?

She ______ (translate) that text all day yesterday.

5 задание
Read the sentence and complete it by putting the verb in brackets in the past continuous. Don’t forget about question marks and full stops.

Примечание:

Предложение должно начинаться с заглавной буквы и заканчиваться точкой или вопросительным знаком.

Example 0. They ______ (have) dinner at five o'clock.

Answer 0. They were having dinner at five o'clock.

Example 1. What ______ (happen) at the time of that robbery?

Answer 1. What was happening at the time of that robbery?

What ______ (you/do) yesterday afternoon?