Leisureeen

导航

上一页 1 ··· 4 5 6 7 8 9 下一页

2020年1月4日 #

NES游戏常用汇编指令

摘要: NES游戏汇编指令、6502汇编指令、FC游戏汇编指令 下表中以内存地址(高字节:0xBA,低字节:0xFC)为例。 机器码 汇编指令 伪C语言注释 EA NOP A=A 85 FC STA $FC [00FC]=A 8D FCBA STA $BAFC [BAFC]=A AD FCBA LDA $B 阅读全文

posted @ 2020-01-04 16:21 Leisureeen 阅读(796) 评论(0) 推荐(0) 编辑

2019年11月28日 #

Function Evaluation

摘要: Author: Leisureeen Time Limit: 100ms Memory Limit: 65535KB Code Size Limit: 16 KB 64-bit integer IO format: %lld Here given a function, you are suppos 阅读全文

posted @ 2019-11-28 22:54 Leisureeen 阅读(447) 评论(0) 推荐(0) 编辑

2019年11月19日 #

sizeof运算符和strlen()函数

摘要: 首先放上代码和运行结果。(在VC6.0上运行) 1 #include<stdio.h> 2 #include<string.h> 3 4 int main(void) 5 { 6 char s1[]="YeHuan"; 7 char *s2="YeHuan"; 8 char s3[]="Ye\0Hu 阅读全文

posted @ 2019-11-19 19:53 Leisureeen 阅读(323) 评论(0) 推荐(0) 编辑

2019年11月9日 #

折半查找比较次数

摘要: 对n个记录的有序表作折半查找,则查找次数如下表。(通过表格下方的按钮和输入框可设置正整数n的值) 查找成功 查找失败 至少比较 1 (int)log2(n+1) 至多比较 (int)(log2n)+1 (int)(log2n)+1 实现功能的代码如下: <table border="0" cells 阅读全文

posted @ 2019-11-09 23:12 Leisureeen 阅读(5619) 评论(0) 推荐(0) 编辑

2019年8月30日 #

1139 First Contact PAT (Advanced Level)

摘要: 原题链接: https://pintia.cn/problem-sets/994805342720868352/problems/994805344776077312 1139 First Contact (30 分)Unlike in nowadays, the way that boys and 阅读全文

posted @ 2019-08-30 16:20 Leisureeen 阅读(486) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 下一页
JS