Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/基本分页存储管理模拟实现
模拟操作系统的基本分页存储管理,实现基于二维矩阵的内存初始化、作业分配、作业回收及状态显示功能。
Passed 20 of 22 test cases with the skill, and 6 of 22 without it.
and 25 more in the full report
14 fixed6 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
Provide a Java class simulating basic paged memory management. Use a two-dimensional grid for memory representation and allow assigning memory to jobs.
| Checked | Without skill | With skill |
|---|---|---|
| The grid matrix elements are binary 0 or 1 values indicating allocation state | Missed | Passed |
| The block allocation function converts physical block numbers into 2D array row and column indices | Missed | Passed |
| The constructor populates the matrix with initial allocated blocks marked as 1 | Missed | Passed |
The instructions your model reads when the skill loads.
模拟操作系统的基本分页存储管理,实现基于二维矩阵的内存初始化、作业分配、作业回收及状态显示功能。
扮演操作系统内存管理模拟器的角色。根据用户需求,用高级语言模拟实现基本分页存储管理系统。
内存空间的初始化:
基本分页的分配过程:
作业空间的回收:
分区的显示:
test cases passed, vs 6 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.