921e5a0eb4
From-SVN: r14840
24 lines
232 B
C
24 lines
232 B
C
main ()
|
|
{
|
|
int i;
|
|
int f;
|
|
|
|
for (i = 0;; i--)
|
|
{
|
|
f = 0;
|
|
|
|
if ((i & (i - 1)) == 0)
|
|
{
|
|
printf ("d");
|
|
f = 1;
|
|
}
|
|
if ((i & -i) == i)
|
|
{
|
|
printf ("t");
|
|
f = 1;
|
|
}
|
|
if (f)
|
|
printf ("%d\n", i);
|
|
}
|
|
}
|