上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 存储管理的主要功能之一是合理地分配空间。请求页式管理是一种常用的虚拟存储管理技术。 这次的目的是通过请求页式管理中页面置换算法模拟设计,了解虚拟存储技术的特点,掌握请求页式存储管理的页面置换算法。 要求如下 下面给出Java代码的实现 (1) 通过计算不同算法的命中率比较算法的优劣。同时也考虑了用户 阅读全文
posted @ 2019-05-27 18:57 秃桔子 阅读(2717) 评论(0) 推荐(1) 编辑
摘要: This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2019-05-22 23:50 秃桔子 阅读(267) 评论(0) 推荐(0) 编辑
摘要: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev 阅读全文
posted @ 2019-05-22 22:52 秃桔子 阅读(419) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, ..., N​j​​ } where 1. The Max 阅读全文
posted @ 2019-05-22 21:17 秃桔子 阅读(232) 评论(1) 推荐(0) 编辑
摘要: At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door 阅读全文
posted @ 2019-05-21 23:43 秃桔子 阅读(149) 评论(0) 推荐(1) 编辑
摘要: 1005 Spell It Right 1005 Spell It Right 1005 Spell It Right Given a non-negative integer N, your task is to compute the sum of all the digits of N, an 阅读全文
posted @ 2019-05-21 23:23 秃桔子 阅读(264) 评论(0) 推荐(0) 编辑
摘要: A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each inp 阅读全文
posted @ 2019-05-21 23:02 秃桔子 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 这鬼题目就不能用Java来做。各种超时。TMD 还有莫名其妙的答案错误。总之没拿满分-.-。233 总体思路就是DFS。加栈回溯。 烦的要命。 阅读全文
posted @ 2019-05-21 03:19 秃桔子 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1001 A+B Format (20 分) 1001 A+B Format (20 分) 1001 A+B Format (20 分) Calculate a+b and output the sum in standard format -- that is, the digits must b 阅读全文
posted @ 2019-05-20 16:53 秃桔子 阅读(525) 评论(0) 推荐(0) 编辑
摘要: JavaScript翻转字符串 先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串。 你的结果必须得是一个字符串 阅读全文
posted @ 2019-05-20 05:05 秃桔子 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 效果如下 阅读全文
posted @ 2019-05-19 00:36 秃桔子 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 目的:把大页面分割成子页面。 1、页面内容多如何管理? 将页面拆分成一个一个的小页面,通过cms去管理这些小页面,当要更改部分页面内容时只需要更改具体某个小页 面即可。2、页面拆出来怎么样通过web服务浏览呢? 使用web服务(例如nginx)的SSI技术,将多个子页面合并渲染输出。 SSI是什么? 阅读全文
posted @ 2019-05-17 21:15 秃桔子 阅读(419) 评论(0) 推荐(0) 编辑
摘要: nginx -s reload 重启 阅读全文
posted @ 2019-05-17 20:59 秃桔子 阅读(310) 评论(0) 推荐(1) 编辑
摘要: 给定一个二叉树,返回其节点值自底向上的层次遍历。 (即按从叶子节点所在层到根节点所在的层,逐层从左向右遍历) 例如:给定二叉树 [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回其自底向上的层次遍历为: [ [15,7], [9,20], [3] ]思路: 阅读全文
posted @ 2019-05-17 13:36 秃桔子 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 暴力法 阅读全文
posted @ 2019-05-17 11:16 秃桔子 阅读(107) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页

如果您有编程方面或者学术方面的需求请在微信公众号搜索

桔子科研


或者识别下方二维码,第一时间获取编程有趣的知识和最新科研学术成果。