<awangdev>Bricks Falling When Hit_2.java
private int flip(int[][] grid, Set<String> visited) {

        int count = 0;
        for (String s : visited) {
            String[] ss = s.split("@");
            int i = Integer.parseInt(ss[0]), j = Integer.parseInt(ss[1]);
            if (grid[i][j] > 0) { 
                grid[i][j] = 0;
                count++;
            }
        }
        return count;
    }
private int sample_funcname ( int [ ] [ ] var_0 , Set < String > var_3 ) {
  int var_5 = 0 ;
  for ( String var_6 : var_3 ) {
    String [ ] var_9 = var_6 . split ( "@" ) ;
    int var_12 = Integer . parseInt ( var_9 [ 0 ] ) , var_14 = Integer . parseInt ( var_9 [ 1 ] ) ;
    if ( var_0 [ var_12 ] [ var_14 ] > 0 ) {
      var_0 [ var_12 ] [ var_14 ] = 0 ;
      var_5 ++ ;
    }
  }
  return var_5 ;
}
