#BZOJ3956. Count

Count

题目描述

输入格式

输出格式

3 2 0
2 1 2
1 1
1 3
0
3

f提示 M,N<=3*10^5,Ai<=10^9

Source

CH Round#64 MFOI杯水题欢乐赛day1 By Gromah