import java.util.*;
public class Different {
public boolean checkDifferent(String iniString) {
boolean []charset=new boolean[256];
for(int i=0;i<iniString.length();i++){
int val=(int)iniString.charAt(i);//取字符串的字符
if(charset[val]){return false;}
charset[val]=true;
}
return true;
}
}