#940. 混凝土粉末(concrete)
混凝土粉末(concrete)
输入样例
5 8
1 1 4 2
2 3 1
2 3 3
1 2 5 1
2 3 3
2 5 2
2 1 2
2 1 3
输出样例
1
0
4
0
1
0
Statistics
Related
In following contests:
5 8
1 1 4 2
2 3 1
2 3 3
1 2 5 1
2 3 3
2 5 2
2 1 2
2 1 3
1
0
4
0
1
0
In following contests:
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.