1.29M
Category: mathematicsmathematics

Решение заданий типа №15 КИМ

1.

Решение заданий типа №15
КИМ

2.

for A in range(1000):
if all ((3 * x + y < A) or (x < y) or (16 <=x ) for x in range(100) for y in range(100)):
print(A)
break

3.

for A in range(1000):
if all ((5 * x - 6* y < A) or (x – y > 30) for x in range(100) for y in range(100)):
print(A)
break

4.

for A in range(1000, 0, -1 ):
if all (((x % 16 == 0) != (x % 24 == 0) )<= (x% A == 0) for x in range(1,1000)):
print(A)
break

5.

for A in range(1000, 0, -1 ):
if all ((x % A != 0) <= ((x % 54 == 0) <= (162 % x != 0)) for x in range(1,1000)):
print(A)
break

6.

count = 0
for A in range(1,1000 ):
if all ((A % 3 ==0)and((220 % x ==0)<= ((A% x !=0) <= (550%x!=0) ))for x in range(1,1000)):
count += 1
print(count)

7.

for A in range(1,1000 ):
if all ((x & 107 == 0) <= ((x & 55 != 0) <= (x& A != 0)) for x in range(1000)):
print(A)
break

8.

for A in range(1,1000 ):
if all ((x & 13 == 0) <= ((x & 40 != 0) <= (x& A != 0)) for x in range(1000)):
print(A)
break
English     Русский Rules