{"problem":{"name":"[语言月赛202305] 线性代数初步","description":{"content":"我们定义一种名为「行列式」的新运算： 对于四个整数 $a, b, c, d$，我们定义 $\\begin{vmatrix} a & b \\\\ c & d \\end{vmatrix}$ 为 $a, b, c, d$ 的行列式，其等于 $a \\times d - b \\times c$。 现在，给定 $a, b, c, d$，请你帮忙计算 $\\begin{vmatrix} a & b \\\\ c & ","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":1000,"memory_limit":524288},"difficulty":{"LuoguStyle":"P1"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGB3762"},"statements":[{"statement_type":"Markdown","content":"我们定义一种名为「行列式」的新运算：\n\n对于四个整数 $a, b, c, d$，我们定义 $\\begin{vmatrix} a & b \\\\ c & d \\end{vmatrix}$ 为 $a, b, c, d$ 的行列式，其等于 $a \\times d - b \\times c$。\n\n现在，给定 $a, b, c, d$，请你帮忙计算 $\\begin{vmatrix} a & b \\\\ c & d \\end{vmatrix}$ 的值是多少。\n\n## Input\n\n输入共一行四个整数 $a, b, c, d$。\n\n## Output\n\n输出共一行一个整数，代表 $\\begin{vmatrix} a & b \\\\ c & d \\end{vmatrix}$ 的值。\n\n[samples]\n\n## Note\n\n### 样例 1 说明\n\n$\\begin{vmatrix} 3 & 7 \\\\ 4 & 9 \\end{vmatrix} = 3 \\times 9 - 4 \\times 7 = -1$。\n\n### 数据规模与约定\n\n对于 $100\\%$ 的数据，保证 $-10 ^ 9 \\leq a, b, c, d \\leq 10 ^ 9$。","is_translate":false,"language":"English"}],"meta":{"iden":"LGB3762","tags":["2023","O2优化","顺序结构","语言月赛"],"sample_group":[["3 7 4 9","-1"]],"created_at":"2026-03-03 11:09:25"}}