自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 C语言知识点(!与~、memset)

C语言知识点!与~的区别!: 代表值得取反,对于整形变量,只要不为0,使用 ! 取反都是0,0取反就是1。就像 bool 只有真假一样。~: 代表位的取反,对于整形变量,对每一个二进制位进行取反,0变1,1变0。举例:在我的电脑中,对于正数,int型变量5的二进制表示为0000 0101,~5的变换如下:1、按位取反:1111 10102、符号位为1,变换后为负数,需要按负数规则转换,取反加一:1000 01103、转换为十进制:~5 = -6对于负数,int型变量-3的二进制表示

2021-08-15 12:09:38 251

原创 POJ2109

POJ2109题目Power of CryptographyTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 30684 Accepted: 15252DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these prim

2021-08-08 10:13:49 106

原创 POJ1328(贪心)题解

POJ1328(贪心)题目Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 150055 Accepted: 33255DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a p

2021-08-07 16:38:49 200

原创 POJ2965(找规律)题解

POJ2965(找规律)题解题目The Pilots Brothers’ refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 35766 Accepted: 13828DescriptionThe game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a re

2021-08-06 13:26:41 116

原创 POJ1753(枚举)题解

POJ1753(枚举).题目Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 65856 Accepted: 26995DescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white

2021-08-05 17:09:16 149

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除