这是笔者第一次的代码,没有问题,但是0分
import java.io.*;
public class pat1081 {
public static void main(String[] args) throws IOException{
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
int N = Integer.parseInt(br.readLine());
for(int i=0;i<N;i++) {
String str = br.readLine();
int len = str.length();
boolean haveNum = false, haveChar = false, illegal = false;
if(len<6) {
out.println("Your password is tai duan le.");
continue;
}
for(int j=0;j<len;j++) {
char temp = str.charAt(j);
if(temp=='.') continue;
if(temp>='0' && temp<='9') haveNum = true;
else if(temp>='a' && temp<='z') haveChar = tr