文件名称:bijiaoone
介绍说明--下载内容均来自于网络,请自行研究使用
输入两个十进制整数:
1. 将要比较的两个数字分别转换成二进制数字;
2. 计算两个二进制数字中1的个数,个数多的数字为两者中的大者;
3. 负数按照其绝对值进行比较;
实现时可以有以下约束:
1. 输入数据为范围在-32768到32768(十进制)之间的任意两个数字;
2. 如果经过比较后2个数相等,输出为0,如果不相等,输出最大值。-Enter two decimal integers:
1 compare the two figures were converted into binary digits
2 calculate the number of one of two binary numbers, the number of multi-figure for both the greater
3 compares the absolute value of a negative follow
You can achieve the following constraints:
1 input data for the range of-32768 to 32768 (decimal) between any two numbers
2 If, after comparing the two numbers are equal, the output is 0, if not equal, output max
1. 将要比较的两个数字分别转换成二进制数字;
2. 计算两个二进制数字中1的个数,个数多的数字为两者中的大者;
3. 负数按照其绝对值进行比较;
实现时可以有以下约束:
1. 输入数据为范围在-32768到32768(十进制)之间的任意两个数字;
2. 如果经过比较后2个数相等,输出为0,如果不相等,输出最大值。-Enter two decimal integers:
1 compare the two figures were converted into binary digits
2 calculate the number of one of two binary numbers, the number of multi-figure for both the greater
3 compares the absolute value of a negative follow
You can achieve the following constraints:
1 input data for the range of-32768 to 32768 (decimal) between any two numbers
2 If, after comparing the two numbers are equal, the output is 0, if not equal, output max
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹\bijiao1.cpp
..........\说明.txt
新建文件夹