摘要:
1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) Shuffling is a procedure used to randomize a deck of playing 阅读全文
摘要:
1.adb驱动安装 adb驱动下载地址:https://adb.clockworkmod.com/ 下载完后 将adb 命令 添加到系统环境变量里面(不会的百度) 打开CMD控制台,输入adb,出现如下界面,即为配置成功。如图: 2.手机和电脑用usb数据线连接,手机在设置中打开“开发者模式”,不同 阅读全文
摘要:
volatile是一个类型修饰符(type specifier).volatile的作用是作为指令关键字,确保本条指令不会因编译器的优化而省略,且要求每次直接读值。 简单地说就是防止编译器对代码进行优化。比如如下程序: 1 2 3 4 XBYTE[2]=0x55; XBYTE[2]=0x56; XB 阅读全文
摘要:
在C语言中, signed char 类型的范围为-128~127,每本教科书上也这么写,但是没有哪一本书上(包括老师)也不会给你为什么是-128~127,这个问题貌似看起来也很简单容易, 以至于不用去思考为什么,不是有一个整型范围的公式吗: -2^(n-1)~2^(n-1)-1 n为整型的内存占用 阅读全文
摘要:
1032 Sharing (25 分) 1032 Sharing (25 分) 1032 Sharing (25 分) To store English words, one method is to use linked lists and store a word letter by lette 阅读全文
摘要:
1028 List Sorting (25 分) 1028 List Sorting (25 分) 1028 List Sorting (25 分) Excel can sort records according to any column. Now you are supposed to imi 阅读全文
摘要:
1025 PAT Ranking (25 分) 1025 PAT Ranking (25 分) 1025 PAT Ranking (25 分) Programming Ability Test (PAT) is organized by the College of Computer Science 阅读全文
摘要:
1024 Palindromic Number (25 分) 1024 Palindromic Number (25 分) 1024 Palindromic Number (25 分) A number that will be the same when it is written forward 阅读全文
摘要:
1022 Digital Library (30 分) 1022 Digital Library (30 分) 1022 Digital Library (30 分) A Digital Library contains millions of books, stored according to 阅读全文
摘要:
1010 Radix (25 分) 1010 Radix (25 分) 1010 Radix (25 分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? Th 阅读全文