Universal Cup Judging System

Universal Cup

시간 제한: 6.0 s 메모리 제한: 512 MB 총점: 100 해킹 가능 ✓
통계

Det finns ett $N \times M$ schackbräde.

Du ska placera $K$ olika torn på detta schackbräde. Placeringen måste uppfylla alla följande villkor:

  1. Varje ruta innehåller högst ett torn.
  2. Varje rad på schackbrädet innehåller minst ett torn.
  3. Varje kolumn på schackbrädet innehåller minst ett torn.

Bestäm det totala antalet giltiga placeringar. Eftersom svaret kan vara mycket stort behöver du bara skriva ut resultatet modulo $998244353$.

Indata

Indata består av en enda rad.

Denna rad innehåller tre heltal $N, M, K$ i ordning ($1 \le N, M, K \le 10^5$), vilka representerar antalet rader och kolumner på schackbrädet respektive antalet torn som ska placeras.

Utdata

Skriv ut en rad som innehåller ett heltal, antalet giltiga placeringar modulo $998244353$.

Exempel

Exempelindata 1

2 2 3

Exempelutdata 1

24

Exempelindata 2

5 3 4

Exempelutdata 2

0

Exempelindata 3

353 442 899

Exempelutdata 3

623104742

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.