HWOJ字符串匹配

import java.util.*;
public class Main{
    public static void main(String[] args) { 
        Scanner sc = new Scanner(System.in); 
        while(sc.hasNext()){
            boolean b = boolIsAllCharExist(sc.nextLine(),sc.nextLine());
            System.out.println(b);
        }
        sc.close(); 
    } 
    public static boolean boolIsAllCharExist(String s1, String s2){
        boolean b = false;
        char temp;
        for(int i=0;i

你可能感兴趣的:(HWOJ字符串匹配)