回答編集履歴
1
修正
    
        answer	
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ぱっと思いついた方法。
         | 
| 2 2 | 
             
            ```Java
         | 
| 3 3 | 
             
            final Random rand = new Random();
         | 
| 4 | 
            -
            String dst = Arrays. | 
| 4 | 
            +
            String dst = Arrays.stream(val.split(""))
         | 
| 5 5 | 
             
                .map(
         | 
| 6 6 | 
             
                    ch -> rand.nextInt(100) < 50 ? "1" : ch
         | 
| 7 7 | 
             
                )
         | 
