title: Compute Average Two Numbers Without Overflow
signature: pub fn compute_average_two_numbers_without_overflow(a: i32, b: i32) -> i32 {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: i32, expected: i32)->bool{
  return actual==expected
  }
  pub fn driver(a: i32, b: i32, expected: i32)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(a, b), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        1, 44, 
        22
      ));
      
      println!("TEST-1...{}", driver(
        6, 61, 
        33
      ));
      
      println!("TEST-2...{}", driver(
        75, 20, 
        47
      ));
      
      println!("TEST-3...{}", driver(
        51, 17, 
        34
      ));
      
      println!("TEST-4...{}", driver(
        19, 25, 
        22
      ));
      
      println!("TEST-5...{}", driver(
        82, 98, 
        90
      ));
      
      println!("TEST-6...{}", driver(
        72, 21, 
        46
      ));
      
      println!("TEST-7...{}", driver(
        48, 41, 
        44
      ));
      
      println!("TEST-8...{}", driver(
        12, 17, 
        14
      ));
      
      println!("TEST-9...{}", driver(
        41, 80, 
        60
      ));
      
  }
source_py: def compute_average_two_numbers_without_overflow(a, b):
      return floor(((a + b) / 2))
source_cpp: int compute_average_two_numbers_without_overflow(int a, int b) {
    return ( a + b ) / 2;
  }