Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nnnn
a = int(input()) b = int(input()) c = int(input()) d = min(a, b // 2, c) a-=d b-=2*d c-=d if a== 0: print(4*d) elif b == 0: print(4*d+1) elif c == 0: print(4*d+2) else: print(4*d+3)
run
|
edit
|
history
|
help
0
Range List for Python
replace
Reverse the string in python
Example for striping string
FizzBuzz
3-6.격자판 최대합
Which Premier League match should I watch?
abstractmethod
sensi 1
Lawrence.py