导航切换
Back
Overview
Status
Standings
Clarifications
Login
Login
Register
Start:
Dec, 14, 2021 13:30:00
2021年秋季学期程序设计基础(C语言)第三次考试
End:
Dec, 25, 2022 16:30:00
Time elapsed:
Time remaining:
A
B
C
D
E
F
G
H
I
J
K
L
M
简单的 LRU 问题
3006
Time Limit:
1 s
Memory Limit:
256 MB
Submission:
5
AC:
2
Score:
0
Submit
Codes
Description
/OJ/upload/file/20211213/20211213231443_26389.pdf
Samples
input
Copy
3 4 0 1 2 1
output
Copy
+------+--------+--------+--------+ | | 0x00 | 0x01 | 0x02 | +------+--------+--------+--------+ | 0x00 | 0x0000 | | | +------+--------+--------+--------+ | 0x01 | 0x0000 | 0x0001 | | +------+--------+--------+--------+ | 0x02 | 0x0000 | 0x0001 | 0x0002 | +------+--------+--------+--------+ | 0x03 | 0x0000 | 0x0002 | 0x0001 | +------+--------+--------+--------+
input
Copy
3 4 1 2 65535 255
output
Copy
+------+--------+--------+--------+ | | 0x00 | 0x01 | 0x02 | +------+--------+--------+--------+ | 0x00 | 0x0001 | | | +------+--------+--------+--------+ | 0x01 | 0x0001 | 0x0002 | | +------+--------+--------+--------+ | 0x02 | 0x0001 | 0x0002 | 0xffff | +------+--------+--------+--------+ | 0x03 | 0x0002 | 0xffff | 0x00ff | +------+--------+--------+--------+
Submit
Codes