| 23 | } |
| 24 | |
| 25 | int32_t main() { |
| 26 | ios_base::sync_with_stdio(0); |
| 27 | cin.tie(0); |
| 28 | int n; cin >> n; |
| 29 | a.resize(n); |
| 30 | for (int i = 0; i < n; i++) { |
| 31 | cin >> a[i]; |
| 32 | } |
| 33 | vector<int> ans = merge_sort(0, n - 1); |
| 34 | for (int i = 0; i < n; i++) { |
| 35 | cout << ans[i] << ' '; |
| 36 | } |
| 37 | return 0; |
| 38 | } |
| 39 | // https://vjudge.net/problem/Gym-324997D |
nothing calls this directly
no test coverage detected