title: Check Integer Overflow Multiplication
signature: def check_integer_overflow_multiplication(a, b):
source_py: def check_integer_overflow_multiplication(a, b):
      if ((a == 0) or (b == 0)):
          return False
      result = (a * b)
      if ((result >= 9223372036854775807) or (result <= (- 9223372036854775808))):
          result = 0
      if (a == (result // b)):
          print((result // b))
          return False
      else:
          return True
source_cpp: bool check_integer_overflow_multiplication(long long a, long long b) {
    if ( a == 0 || b == 0 ) return false;
    long long result = a * b;
    if ( a == result / b ) return false;
    else return true;
  }
question_info.test_code: import array
  import bisect
  import collections
  import datetime
  import functools
  import heapq
  import itertools
  import math
  import queue
  import re
  import string
  import sys
  from typing import Any, Dict, List, Optional, Set
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  def validate_solution(actual, expected):
      return actual == expected
  
  def driver(a, b, expected):
      try:
          if validate_solution(PLACEHOLDER_FN_NAME(
              a, b),
              expected
          ):
              return "PASSED"
          return "FAILED"
      except Exception as exception_obj:
          return type(exception_obj).__name__
      
  if __name__ == "__main__":
      result = driver(37, 80, False)
      print(f"TEST-0...{result}")
  
      result = driver(10000000000, -10000000000, True)
      print(f"TEST-1...{result}")
  
      result = driver(10000000000, 10000000000, True)
      print(f"TEST-2...{result}")
  
      result = driver(999999999, 999999999, False)
      print(f"TEST-3...{result}")
  
      result = driver(39, 36, False)
      print(f"TEST-4...{result}")
  
      result = driver(92, 56, False)
      print(f"TEST-5...{result}")
  
      result = driver(14, 21, False)
      print(f"TEST-6...{result}")
  
      result = driver(19, 38, False)
      print(f"TEST-7...{result}")
  
      result = driver(14, 82, False)
      print(f"TEST-8...{result}")
  
      result = driver(88, 41, False)
      print(f"TEST-9...{result}")
  
      sys.exit(0)
question_info.test_case_ids: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
question_info.entry_fn_name: check_integer_overflow_multiplication
question_info.test_list: [{"idx": 0, "outputs": false, "inputs": {"a": 37, "b": 80}}, {"idx": 1, "outputs": true, "inputs": {"a": 10000000000, "b": -10000000000}}, {"idx": 2, "outputs": true, "inputs": {"a": 10000000000, "b": 10000000000}}, {"idx": 3, "outputs": false, "inputs": {"a": 999999999, "b": 999999999}}, {"idx": 4, "outputs": false, "inputs": {"a": 39, "b": 36}}, {"idx": 5, "outputs": false, "inputs": {"a": 92, "b": 56}}, {"idx": 6, "outputs": false, "inputs": {"a": 14, "b": 21}}, {"idx": 7, "outputs": false, "inputs": {"a": 19, "b": 38}}, {"idx": 8, "outputs": false, "inputs": {"a": 14, "b": 82}}, {"idx": 9, "outputs": false, "inputs": {"a": 88, "b": 41}}]
question_info.entry_cls_name: Solution