cf/mirror

Yet Another Array Queries Problem

CF
863D1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6 3 5
1 2 3 4 5 6
2 1 3
2 3 6
1 1 6
2 2 1 5 3
Output
3 3 1 5 2
863D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)