// Date: 2026-04-29
// Author: www.xinweikaoyan.com
// Compiler: GCC 15.2
// Target: Ubuntu 24.04.1 LTS (x86_64)
// Standard: C++26 with modules
// Build: g++ -std=c++26 -fmodules-ts tournament_sort.cppm tournament_sort.test.cpp -o tournament_sort.test
import tournament_sort;
import std;
int main() {
std::vector<int> data = {3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 11};
std::println("排序前: {}", data);
tournament_sort(data);
std::println("排序后: {}", data);
return 0;
}