Universal Cup Judging System

Universal Cup

حد الوقت: 6.0 s حد الذاكرة: 512 MB مجموع النقاط: 100 قابلة للهجوم ✓
الإحصائيات

Terdapat sebuah papan catur berukuran $N \times M$.

Anda perlu menempatkan $K$ benteng yang berbeda pada papan catur ini. Penempatannya harus memenuhi semua syarat berikut:

  1. Setiap sel berisi paling banyak satu benteng.
  2. Setiap baris pada papan catur berisi setidaknya satu benteng.
  3. Setiap kolom pada papan catur berisi setidaknya satu benteng.

Carilah banyaknya cara penempatan yang valid secara keseluruhan. Karena jawabannya bisa sangat besar, Anda hanya perlu mengeluarkan hasilnya modulo $998244353$.

Masukan

Masukan hanya terdiri dari satu baris.

Baris ini berisi tiga bilangan bulat $N, M, K$ secara berurutan ($1 \le N, M, K \le 10^5$), yang masing-masing menyatakan banyaknya baris dan kolom pada papan catur, serta banyaknya benteng yang akan ditempatkan.

Keluaran

Keluarkan satu baris yang berisi sebuah bilangan bulat, yaitu banyaknya cara penempatan yang valid modulo $998244353$.

Contoh

Contoh Masukan 1

2 2 3

Contoh Keluaran 1

24

Contoh Masukan 2

5 3 4

Contoh Keluaran 2

0

Contoh Masukan 3

353 442 899

Contoh Keluaran 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.