import java.util.*;
public class TheLuckyNumbersLevelTwo {
ArrayList al = new ArrayList();
public static void find(int[] numbers)
{
int t=128;
int i;
for(i=0;i<t;i++);
{
System.out.println(i);
/*
System.out.print('[');
int j=i;
int k=0;
while(j>0)
{
if((j&1)>0)
{
System.out.print(numbers[0]);
}
k++;
j=j>>1;
}
System.out.println(']');*/
}
}
public boolean confirm(long numbers)
{
String s =String.valueOf(numbers);
if (s.charAt(0)=='4')
{
for(int x=0;x<s.length();x++)
{
if(s.charAt(x)=='4')
;
else
return false;
if(x==s.length()-1)
return true;
}
}
if(s.charAt(0)=='7')
{
for(int x=0;x<s.length();x++)
{
if(s.charAt(x)=='7')
;
else
return false;
if(x==s.length()-1)
return true;
}
}
return false;
}
public static void main(String[] args)
{
int x [] = {1,2,3,4,5,6,7};
find(x);
}
}
for(i=0;i<t;i++); 你這裡多了 (;)正確了請采納