Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- '''(0)1
- (1)2
- (2)4
- (3)8
- (4)16
- (5)32
- (6)64
- (7)128
- (8)256
- (9)512
- (10)1024
- (11)2048
- (12)4096'''
- pow_1 = int(input())
- count_simbol = int(input())
- count_user = int(input())
- password_1 = pow_1 * count_simbol
- round_password = ceil(password_1/8)
- nnn = round_password * count_user# плюсуем, если есть доп информация к round rassword
- print(nnn/1024) #в килобайтах
- #для хранения дополнительных сведений
- from math import *
- '''(0)1
- (1)2
- (2)4
- (3)8
- (4)16
- (5)32
- (6)64
- (7)128
- (8)256
- (9)512
- (10)1024
- (11)2048
- (12)4096'''
- pow_1 = int(input())
- count_simbol = int(input())
- count_user = int(input())
- all_data = int(input())
- password_1 = pow_1 * count_simbol
- round_password = ceil(password_1/8)
- print(all_data / count_user - round_password)
- from math import *
- '''(0)1
- (1)2
- (2)4
- (3)8
- (4)16
- (5)32
- (6)64
- (7)128
- (8)256
- (9)512
- (10)1024
- (11)2048
- (12)4096'''
- pow_1 = int(input())
- count_simbol = int(input())
- pow_year = int(input())
- pow_month = int(input())
- inform = pow_1 * count_simbol + pow_year + pow_month
- print(ceil(inform/8))
- from math import *
- '''(0)1
- (1)2
- (2)4
- (3)8
- (4)16
- (5)32
- (6)64
- (7)128
- (8)256
- (9)512
- (10)1024
- (11)2048
- (12)4096'''
- pow_1 = int(input())
- pow_2 = int(input())
- a = int(input())
- b = int(input())
- ident = int(input())
- simbol = pow_1 * a + pow_2 * b
- bait = ceil(simbol / 8)
- print(bait * ident)
- from math import*
- alf = int(input())
- lk = int(input())
- storage = alf * lk
- tsr = ceil(storage/8)
- nom_p = int(input())
- propysk = int(input())
- print(propysk - (tsr + nom_p))
- from math import*
- pow = int(input())
- simbol = int(input())
- alldata = int(input())
- bait = ceil(pow * simbol / 8) + 2 #если больше 256 , то ставим 2, если меньше - 1
- print(alldata - bait)
Advertisement
Add Comment
Please, Sign In to add comment