問題一覧 > 数学的知識問題

No.8094 Character Table

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 12
作問者 : 👑 箱星
お気に入りにしたユーザー ProblemId : 7781 / 自分の提出
問題文最終更新日: 2023-09-12 21:22:28
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder April Fool Contest 2022 (順位表) の他の問題:

Problem Statement

You are given a character table with $1$ of its values hidden. Find the hidden value.

Detailed Problem Statement

Suppose that a finite group $G$ has exactly $N$ irreducible characters, and let them be $\chi_1,\ldots,\chi_N$. Then $G$ has $N$ conjugacy classes. Choose one element from each of the $N$ conjugacy classes, $1$ element per class, and let them be $g_1,\ldots,g_N$. With $A_{ij}=\chi_i(g_j)$, the square matrix $A$ of order $N$ is called the character table.

You are now given a square matrix $A$ of order $N$. In this $A$, $A_{ij}$ is ? for exactly $1$ pair $(i,j)$, and replacing it with an appropriate integer yields the character table of some group. Find this integer.

Constraints

  • $N$ is an integer between $1$ and $10$, inclusive
  • For exactly $1$ pair $(i,j)$, $A_{ij}$ is ?; for all other $(i,j)$, $A_{ij}$ is an integer
  • Only inputs that can be a character table are given

Input

$N$
$A_{11}$ $\ldots$ $A_{1N}$
$\vdots$
$A_{N1}$ $\ldots$ $A_{NN}$

Output

Output the appropriate integer.

Sample

Sample 1
Input
3
1 1 1
1 -1 1
? 0 -1
Output
2

This is the character table of the symmetric group of degree $3$.

Sample 2
Input
5
1 1 1 1 1
1 -1 1 -1 1
2 0 ? 0 -2
1 1 -1 -1 1
1 -1 -1 1 1
Output
0

This is the character table of the dihedral group and the quaternion group of order $8$.

Sample 3
Input
1
?
Output
1

This is the character table of the trivial group.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。