#P3189. 文件缓存系统(200分)

文件缓存系统(200分)

题目内容

请设计一个文件缓存系统,该文件缓存系统可以指定缓存的最大值(单位为字节)。

文件缓存系统有两种操作:

  • 存储文件(put)

  • 读取文件(get)