Software22229
- Cell Phones 1586
- Desktop 761
- Editors 427
- Education, Science & Engineering 1093
- Games 2266
- Internet 4693
- Multimedia & Graphics 978
- Office software 755
- PC 471
- Programming 1874
- 1C 145
- ActiveX 3
- Assembler 30
- C# 85
- C/С++ 281
- Data Bases 402
- Delphi/Pascal 494
- Disassemblers 6
- OpenGL/DirectX 5
- PHP 155
- Setup Software 22
- Visual Basic 25
- Others 221
- Security 942
- SEO 306
- Software for Pocket PC 187
- Utilities 3854
Translation numbers in the binary system + cyclic shift
Sold: 0
Uploaded: 12.04.2016
Content: conv.rar 959,38 kB
Uploaded: 12.04.2016
Content: conv.rar 959,38 kB
Product description
The program converts the number into a binary code , and then makes a right hand cyclic shift of the code , the other numbers are formed . Then , the program finds the maximum number from all numbers
Additional information
Given an inherent number N (N <= 4294967295 ) . When writing N binary system in the sequence goes to 0 and 1. For example, when N = 19, we obtain 1910 = 1 * 24 + 0 * 23 + 0 * 22 + 1 * 21 + 1 * 20 , that is in binary number can be written how 100112. Circular shift to the right out of the other . Find the maximum - not among these numbers. Yes, for the number 19, the cyclic shift results as follows:
10011 = 19
11001 = 25
11100 = 28
01110 = 14
7 = 00111
10011 = 19 .
Accordingly, the maximum number is 28 .