编程题:29
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String s1 = scanner.nextLine();
String s2 = scanner.nextLine();
while (s1.contains(s2)) {
s1 = s1.replace(s2, "");
}
System.out.println(s1);
}
}
浙公网安备 33010602011771号