Conclusion of the first exam
来源:互联网 发布:淘宝店有差评怎么办 编辑:程序博客网 时间:2024/05/14 22:34
1.假设在n进制下,下面的等式成立,567*456=150216,n的值是多少()
A.9
B.10
C.12
D.18
解析:
第1步,由题可知:(5*n^2+6*n+7)*(4*n^2+5*n+6)==n^5+5*n^4+2*n^2+n+6,整理得:
20*n^4+49*n^3+88*n^2+71*n+42=n^5+5*n^4+2*n^2+n+6 (1)
第2步,对方程(1)两边同时对n取余,得:42%n==6 (2)
由于此时只能排除B,故还得继续寻找一个方程;
第3步,然后先对方程(1)除以n,再对n取余,得:(71+42/n)%n==(1+6/n)%n (2)
此时再代入得:D满足。
11.24修改
宏的定义,使用时直接带进去,譬如定义函数F=x*y+z
现在x=a+b,y=b+c,z=c+a,所以函数值就为F=a+b*b+c+c+a。
阅读全文
0 0
- Conclusion of the first exam
- the art of conclusion
- The opinion of cheated on an exam
- Conclusion of this week
- Conclusion of these days
- The First Blog of Mine
- The first article of shell.
- The first cup of RMI
- The first time of blogging
- the first log of mine
- the first day of march
- The first blog of mine...
- The value of first company
- The First Day of Effective
- the first blog of johear
- The first day of CSDN!
- 2015 Arts exam policy raise the status of cultural
- The feeling of the first week
- 1034. 有理数四则运算(20)
- 第一次考试
- HDU 2897-邂逅明下 博弈论初步 巴什博弈
- 文件上传
- TCP
- Conclusion of the first exam
- Construct2制作游戏进阶教程
- 博客之路之起点篇
- ubuntu super 键盘 D 显示桌面
- NPU 程序设计17届 1045 六数码问题
- 为什么手机等电子设备在降价
- 五分钟读懂源码——Square开源网络请求库OkHttp的工作原理解析
- leetcode#394. Decode String
- Sort算法