#P1955. Computer Cache

    ID: 763 传统题 5000ms 128MiB 尝试: 2 已通过: 0 难度: 10 上传者: 标签>2019 ACM Southeast USA regional(10小时马拉松赛)

Computer Cache

题目描述

PDF

输入格式

AS shown in the PDF.

输出格式

AS shown in the PDF.

样例

5 2 10 
3 255 0 15 
4 1 2 1 3 
2 1 
1 2 2 
1 1 1 
2 1 
2 4 
3 1 1 2 
2 1 
1 1 2 
2 2 
2 5 

0 
255 
1 
255 
0 
3 

提示

sourced from 2019 ACM Southeast USA regional(10小时马拉松赛)


by QLU_杨光耀