3049_java

3049_java
2011年03月01日
   import java.io.*;
  import java.util.*;
  public class Main {
  static final int N = 20;
  static int n,l;
  static String ans;
  static char word[] = new char[N];
  static char ansp[] = new char[N];
  public static void main(String []args)throws Exception{
  int i;
  String str;
  //Scanner cin = new Scanner(new FileInputStream("input.txt"));
  Scanner cin = new Scanner(System.in);
  l = cin.nextInt();
  n = cin.nextInt();
  for(i=0;i=l){
  if(!have) return ;
  for(i=0;i< dept;++i)
  System.out.print(ansp[i]);
  System.out.println("");
  return ;
  }
  for(i=start;i< n;++i){
  ansp[dept] = word[i];
  if(word[i]=='a' || word[i]=='e'||word[i]=='i'||word[i]=='o'||word[i]= ='u'){
  dfs(i+1,dept+1,have|true);
  }
  else dfs(i+1,dept+1,have);
  }
  }
  }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值