Bugs.java
import java.io.BufferedReader;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
/**
*
* @author cteam051
*/
public class Bugs {
/**
* @param args the command line arguments
*/
public static void main
(String[] args
) { int N;
while (true){
try {
return;
}
N
=Integer.
parseInt(st.
nextToken()); Bug = st.nextToken();
for (int idx = 0; idx < N; idx++) {
try {
line = input.readLine();
}
while (line.contains(Bug)){
line=line.replaceAll(Bug, "");
}
}
}
}
}
//7 BUG
//print "No bugsjsdfhgskhgsl"
//
//sdilfhgekhgkesd
//BUGBUG
// printfBUG()slidhfgsl
//}
//
//1 ERR
//wriERRERRtelERRn("Hello E-R-R");
//1 ERR
//EERRRRbla