title: Sum Matrix Element Element Integer Division Row Column
signature: function sumMatrixElementElementIntegerDivisionRowColumn($n) {
test_code: <?php
  
  
  // SOLUTION CODE 
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function validateSolution($actual, $expected){
      return serialize($actual) == serialize($expected);
  }
  
  function driver($n, $expected){
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME($n), $expected)){
          return "PASSED";
        }
        return "FAILED";
      }
      catch (Exception $exception_obj) {
        return get_class($exception_obj);
      }
  }
  
  function main(){
      printf("TEST-0...%s\n",driver(
        60, 
        7021));
      
      printf("TEST-1...%s\n",driver(
        74, 
        11190));
      
      printf("TEST-2...%s\n",driver(
        8, 
        77));
      
      printf("TEST-3...%s\n",driver(
        74, 
        11190));
      
      printf("TEST-4...%s\n",driver(
        34, 
        1974));
      
      printf("TEST-5...%s\n",driver(
        66, 
        8680));
      
      printf("TEST-6...%s\n",driver(
        96, 
        19920));
      
      printf("TEST-7...%s\n",driver(
        11, 
        156));
      
      printf("TEST-8...%s\n",driver(
        45, 
        3697));
      
      printf("TEST-9...%s\n",driver(
        72, 
        10530));
      
  }
  
  main();
  ?>
source_py: def sum_matrix_element_element_integer_division_row_column(N):
      ans = 0
      for i in range(1, (N + 1)):
          for j in range(1, (N + 1)):
              ans += (i // j)
      return ans
source_cpp: int sum_matrix_element_element_integer_division_row_column(int n) {
    int ans = 0;
    for ( int i = 1;
    i <= n;
    i ++ ) for ( int j = 1;
    j <= n;
    j ++ ) ans += ( i / j );
    return ans;
  }