← 回題庫

卷別

資料結構與演算法

選擇

國立臺灣大學 2025 · 考試 · 第 17 題

考科演算法

(5 points) Let A,B,C,D,EA, B, C, D, E be decision problems. We denote a polynomial time reduction with the symbol "≤p\le_p". Suppose that A≤pBA \le_p B, B≤pCB \le_p C, C≤pDC \le_p D, and C≤pEC \le_p E. We also assume A∈PA \in P and B∈NPB \in NP. Select all correct statement(s) below.

  • (A)
    If AA is NP-hard, then B∈PB \in P.
  • (B)
    If BB is NP-hard and E≤pBE \le_p B, then CC is NP-complete and DD is NP-hard.
  • (C)
    If CC is NP-complete, then both DD and EE are NP-complete.
  • (D)
    If D∈NPD \in NP, then C∈NPC \in NP.
  • (E)
    If EE is NP-hard, then CC is NP-hard.

標準解析

AI 已複查