上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页
摘要: 中间代码生成_1 1 中间代码生成时所依据的是( C )。 A. 语法规则 B. 词法规则 C. 语义规则 D. 等价变换规则 2 在编译程序中与中间代码生成无关的是( D)。 A. 便于目标代码的优化 B. 便于存储空间的组织 C. 便于编译程序的移植 D. 便于目标代码的移植 3 以下说法不正确 阅读全文
posted @ 2020-04-27 23:55 __MEET 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/gzy-cjoier/p/8426987.html %%%%%%%% 阅读全文
posted @ 2020-04-27 18:58 __MEET 阅读(283) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1342/problem/D 简单的叙述一下题意:有n个不大于k的数记录在m数组中,现在呢,需要我们将这n个数分组,对每个组的限制是,对于任何1~k的数字X,每组中不小于X的数字的个数不能大于C【X】,C数组输入时给定。现在需要我们计算出 阅读全文
posted @ 2020-04-27 18:36 __MEET 阅读(213) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1342/problem/C 题意:给定的区间【L,R】中有多少个数可以满足( ( x mod a) mod b ) ≠ ( ( x mod b ) mod a )。 题解:暴力打表,n = a * b ,扫描1-n之间有多少数满足( ( 阅读全文
posted @ 2020-04-27 10:15 __MEET 阅读(473) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2041 题意:有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法? 题解:手推前5项,发现是1,2,3,5,8 , 那么可以猜测是斐波那契数列的衍生,也就是 num[ i ] 阅读全文
posted @ 2020-02-01 15:17 __MEET 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2044 #include <stdio.h> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <a 阅读全文
posted @ 2020-02-01 15:02 __MEET 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2018 #include <stdio.h> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <a 阅读全文
posted @ 2020-02-01 14:42 __MEET 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2084 #include <stdio.h> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <a 阅读全文
posted @ 2020-02-01 14:30 __MEET 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Let's call an array a1,a2,…,ama1,a2,…,am of nonnegative integer numbers good if a1+a2+⋯+am=2⋅(a1⊕a2⊕⋯⊕am)a1+a2+⋯+am=2⋅(a1⊕a2⊕⋯⊕am), where ⊕⊕denotes th 阅读全文
posted @ 2019-12-30 22:13 __MEET 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Karlsson has recently discovered a huge stock of berry jam jars in the basement of the house. More specifically, there were 2n2n jars of strawberry an 阅读全文
posted @ 2019-12-21 10:23 __MEET 阅读(299) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页