Skip to content

Instantly share code, notes, and snippets.

@monhime

monhime/ABC178B.gyp

Created Sep 13, 2020
Embed
What would you like to do?
ABC178 B問題 解答
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
a, b, c, d = map(int,input().split())
print(max(a*c,a*d,b*c,b*d))
if __name__=='__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.