Submission #16677950


Source Code Expand

Copy
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()

Submission Info

Submission Time
Task B - Product Max
User charter
Language PyPy3 (7.3.0)
Score 200
Code Size 190 Byte
Status
Exec Time 67 ms
Memory 61780 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample00, sample01, sample02
All 200 / 200 case03, case04, case05, case06, case07, case08, case09, case10, case11, case12, case13, case14, case15, case16, case17, case18, case19, case20, case21, case22, case23, case24, case25, case26, case27, case28, case29, case30, case31, case32, case33, case34, sample00, sample01, sample02
Case Name Status Exec Time Memory
case03 67 ms 61752 KB
case04 54 ms 61688 KB
case05 51 ms 61688 KB
case06 52 ms 61568 KB
case07 57 ms 61752 KB
case08 59 ms 61652 KB
case09 61 ms 61652 KB
case10 60 ms 61548 KB
case11 60 ms 61764 KB
case12 57 ms 61588 KB
case13 54 ms 61488 KB
case14 56 ms 61732 KB
case15 58 ms 61752 KB
case16 56 ms 61752 KB
case17 61 ms 61772 KB
case18 54 ms 61572 KB
case19 52 ms 61564 KB
case20 57 ms 61764 KB
case21 57 ms 61728 KB
case22 61 ms 61544 KB
case23 48 ms 61688 KB
case24 57 ms 61720 KB
case25 59 ms 61740 KB
case26 53 ms 61684 KB
case27 56 ms 61576 KB
case28 61 ms 61632 KB
case29 59 ms 61736 KB
case30 61 ms 61584 KB
case31 55 ms 61468 KB
case32 61 ms 61632 KB
case33 46 ms 61576 KB
case34 51 ms 61768 KB
sample00 60 ms 61632 KB
sample01 51 ms 61652 KB
sample02 56 ms 61780 KB