cf/mirror

Median Queries

CF
1526F3000· legendary gm6s256 MB⇄ interactive

Examples

Sample 1of 1
Input
1
20
 
6
 
9
 
1
Output
? 1 5 2
 
? 20 19 2
 
! 9 10 19 7 16 18 11 14 15 6 20 8 17 4 5 3 12 2 13 1
1526F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)