22  printf(
"\nTMath::Permute simple test\n");
 
   23  printf(
"==========================\n");
 
   28  for(i=0; i<4; i++) 
a[i]=i;
 
   41  printf(
"\nTMath::Permute simple test with repetition\n");
 
   42  printf(
"==========================================\n");
 
   47  for(i=0; i<6; i++) 
a[i]=(i+2)/2;
 
   68  printf(
"\nTMath::Permute fancy test\n");
 
   69  printf(
"=========================\n");
 
   70  printf(
"This is a program to calculate the solution to the following problem\n");
 
   71  printf(
"Find the equivalence between letters and numbers so that\n\n");
 
   72  printf(
"              NINE*THREE = NEUF*TROIS\n\n");
 
   78     trois=(((t*10+
r)*10+o)*10+i)*10+s;
 
   80        printf(
"Solution found!\n\n");
 
   81        printf(
"T=%d N=%d E=%d S=%d F=%d H=%d R=%d I=%d O=%d U=%d\n",t,
n,
e,s,
f,
h,
r,i,o,
u);
 
   87  printf(
"No solutions found -- something is wrong here!\n");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Bool_t Permute(Int_t n, Int_t *a)
Simple recursive algorithm to find the permutations of n natural numbers, not necessarily all distinc...