P8789 [Lanqiao Cup 2022 National B] Fill-in-the-Blank Problems

Description

## Task A: 2022 ### Problem Description Split $2022$ into the sum of $10$ distinct positive integers. How many different ways are there? Note that different orders are considered the same method. For example, $2022=1000+1022$ and $2022=$ $1022+1000$ are considered the same method. ### Answer Submission This is a fill-in-the-blank problem. You only need to compute the result and submit it. The result of this problem is an integer. When submitting the answer, only fill in this integer. Any extra content will not be scored. ## Task B: Clock ### Problem Description On a $12$-hour clock, there are a minute hand, an hour hand, and a second hand to show the time. Let the angle (in degrees) between the minute hand and the hour hand be $A(0 \leq A \leq 180)$, and the angle (in degrees) between the minute hand and the second hand be $B$ $(0 \leq B \leq 180)$. At exactly $s$ hours $f$ minutes $m$ seconds, the condition $A=2 B$ holds, and $0 \leq s \leq 6$; $0 \leq f

Input Format

The input consists of one uppercase letter, indicating which task it is.

Output Format

According to the input task label, output the answer to the corresponding task.

Explanation/Hint

Answer template for reference. ```cpp #include using namespace std; int main() { string ans [] = { "The answer of task A", // Replace the content in double quotes with the answer for task A. "The answer of task B", // Replace the content in double quotes with the answer for task B. }; char T; cin >> T; cout