cf/mirror

Queries about less or equal elements

CF
600B1300· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5 4
1 3 5 7 9
6 4 2 8
Output
3 2 1 4
Sample 2of 2
Input
5 5
1 2 1 2 5
3 1 4 1 5
Output
4 2 4 2 5
600B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)