Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop CSharp
Title: Integer-change Download
  • Category:
  • CSharp
  • Tags:
  • [Text]
  • File Size:
  • 1kb
  • Update:
  • 2016-01-05
  • Downloads:
  • 0 Times
  • Uploaded by:
  • Joy
 Description: 整数变换问题。关于整数i的变换f和g定义如下:f(i)=3i;g(i)=ë i/2û 。 试设计一个算法,对于给定的2 个整数n和m,用最少的f和g变换次数将n变换为m。 例如,可以将整数15用4 次变换将它变换为整数4:4=gfgg(15)。当整数n不可能变换 为整数m时,算法应如何处理?
 Downloaders recently: [More information of uploader Joy]
 To Search:
File list (Check if you may need any files):
 

整数变换问题.txt
    

CodeBus www.codebus.net