poj 02

#include <stdio.h>
#include <stdlib.h>
int main()
{
char a,b='x',c='x';
  for(a='x';a<='z';a++)
    for(b='x';b<='z';b++)
        if(a!='x' && b!=a)
      for(c='x';c<='z';c++)
      if(c!='z' && c!='x' && c!=b && a!=c) printf("a--%c b--%c c--%c\n",a,b,c);
    return 0;
posted @ 2012-07-19 09:40  blue——  阅读(136)  评论(0编辑  收藏  举报