---
title: "Discussion on \"2025春训第二十三场\" | Hashnode"
description: "Discussion on \"2025春训第二十三场\". 昨天栽在二分了，今天写了四个二分一个也没挂，爽😋\nA. 互质划分\n事实上，只需要 n / 2 即可，如果所有 2 的倍数都能分开了，那其他的更能分开。\n#include <iostream>\n#include <cmath>\n\nusing namespace std;\n\nint main() {\n    long long n;\n    cin >> n;\n    cout << max(1LL, n >> 1) << endl;\n    return 0;\n}\n\nB. 出租车\n对于每一个居民..."
url: "https://hashnode.com/posts/2025st23/6832ecb37c8381416e1427fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [2025春训第二十三场](https://invalidname.hashnode.dev/2025st23?utm_source=hashnode&utm_medium=feed)

昨天栽在二分了，今天写了四个二分一个也没挂，爽😋 A. 互质划分 事实上，只需要 n / 2 即可，如果所有 2 的倍数都能分开了，那其他的更能分开。 #include <iostream> #include <cmath> using namespace std; int main() { long long n; cin >> n; cout << max(1LL, n >> 1) << endl; return 0; } B. 出租车 对于每一个居民...

May 25, 2025 · 4 min read · invalidname.hashnode.dev  
Read the article

-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Star](https://hashnode.com/@InvalidName)

@InvalidName · China

  
[View profile](https://hashnode.com/@InvalidName)

A Chinese OIer and a tosser.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
