예제 #1
0
파일: Ans.cpp 프로젝트: niyuzheno1/CODES
void change(int l,int r,int k){
  if(k == 3)
   k =3;
  nt->lx = a[l],nt->rx = a[r];
  nt->pri = rand();
  a[k] = tins(nt);
  if(a[k] == nt) ++nt;
  change(1,1,n,k);
}
예제 #2
0
파일: convert.c 프로젝트: ttang1/ics53
void hunnets(int tree_dig)
{
    if(tree_dig / 100)
    {
        wuns(tree_dig / 100);
        printf(" hundred");
    }
    if(tree_dig / 100 && tree_dig % 100)
        printf(" ");
    tins((tree_dig % 100) / 10, (tree_dig % 100) % 10);
}