title: Sum Matrix Element Element Integer Division Row Column
signature: class Solution {
  
      public Integer sumMatrixElementElementIntegerDivisionRowColumn(Integer n) {
test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer n, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(n,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(60, 7021);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(74, 11190);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(8, 77);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(74, 11190);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(34, 1974);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(66, 8680);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(96, 19920);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(11, 156);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(45, 3697);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(72, 10530);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer n, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(n),expected);
      }
      
      public boolean validateSolution(Integer actual, Integer expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
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;
  }