comefrom: <qiyuangong>013_Roman_to_Integer_1.java
code: public int romanToInt(String s) {
          int[] arr = new int['A' + 26];
          arr['I'] = 1;
          arr['V'] = 5;
          arr['X'] = 10;
          arr['L'] = 50;
          arr['C'] = 100;
          arr['D'] = 500;
          arr['M'] = 1000;
  
          int result = 0;
          int prev = 0;
  
          for (int i = s.length() - 1; i >= 0; i--) {
              int current = arr[s.charAt(i)];
              result += prev > current ? -current : current;
              prev = current;
          }
  
          return result;
      }
masked: public int sample_funcname ( String var_1 ) {
    int [ ] var_4 = new int [ 'A' + 26 ] ;
    var_4 [ 'I' ] = 1 ;
    var_4 [ 'V' ] = 5 ;
    var_4 [ 'X' ] = 10 ;
    var_4 [ 'L' ] = 50 ;
    var_4 [ 'C' ] = 100 ;
    var_4 [ 'D' ] = 500 ;
    var_4 [ 'M' ] = 1000 ;
    int var_20 = 0 ;
    int var_21 = 0 ;
    for ( int var_23 = var_1 . length ( ) - 1 ;
    var_23 >= 0 ;
    var_23 -- ) {
      int var_25 = var_4 [ var_1 . charAt ( var_23 ) ] ;
      var_20 += var_21 > var_25 ? - var_25 : var_25 ;
      var_21 = var_25 ;
    }
    return var_20 ;
  }
  