contributed by < kdnvt >
Mar 21, 2025contributed by < BrotherHong >
Mar 19, 2025Chapter 1 Introduction 常見縮寫 ISP:網路服務供應商 Internet Service Provider (e.g. 中華電信) TCP:傳輸控制協定 Transmission Control Protocol UDP:使用者資料包協定 User Datagram Protocol 常見設備 數據機 (modem, modulator-demodulator) 是一個能將數位訊號調變到類比訊號進行傳輸,並解調收到的類比訊號為數位訊號的電子裝置。
Jun 10, 2023online judge: TCIRC link: https://judge.tcirc.tw/ShowProblem?problemid=d038 題目敘述 有 $N$ 線性函數 $f_i(x)=a_ix+b_i,1\leq i \leq N$。定義 $F(x)=max_if_i(x)$。輸入 $c[i], 1\leq i \leq m$,請計算 $\sum_{i=1}^nF(c[i])$。 輸入說明 第一行是 $N$ 與 $m$。接下來有 $N$ 行,依序每行兩個整數 $a_i$ 與 $b_i$,最後一行有$m$個整數$c[1],c[2],⋯,c[m]$。每一行的相鄰數字間以空白隔開。$N\leq 10^5$, $m\leq 5\times10^4$,輸入整數絕對值不超過 $10^7$,答案不超過 $10^{15}$。 範例輸入
Sep 24, 2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up