謝旻錚

@truckski

Joined on Jun 15, 2017

  • Roughly cover the materials in Chapters 7 and 8. Strings String is the data type for text.A sequence of Char "Text" and "t" are String. 'T' and 't' are Char. Length: .length Template:
     Like  Bookmark
  • Roughly cover the materials in Chapter 6: Null Safety and Exceptions. null A special value means "Does not exist", "No such data", "Operation failed", "A special state", "not repersentable", or similar concept. In many languages, null causes crashes!Including C/C++/Java. You may not open a file "does not exist". You may not do arithmetic operation on "No such data".1 + null "abc" + null Member function call
     Like  Bookmark
  • Roughly cover the materials in Chapters 4 and 5. Why Functions Consider the following code:import java.util.Scanner fun main() { val scanner = Scanner(System.`in`) print("What is your score? ") val yourScore = scanner.nextInt() val yourGPA = when (yourScore) {
     Like  Bookmark
  • 要繳交的檔案與資訊 題目為英文,但如果沒有信心可以用中文敘述。建議使用 LaTeX,如有使用特別的 package 請先詢問,非 LaTeX 會盡量幫忙轉。 Problem statement (statement.tex) Input Format (input.tex) Output Format (output.tex) Technical Specification (spec.tex) (Optional) Hint (hint.tex) (Optional) Note (note.tex)
     Like  Bookmark
  • 訓練地點:EC115。 建議練習時段:週三 18:00~23:00,週六 9:00~14:00。 To pass NYCU Competitive Programming 3, you must complete 17 of the following problem sets and provide a practice record for each set of problems. 2022/09/14 WED https://codeforces.com/contestRegistration/1704/virtual/true 2022/09/17 SAT https://codeforces.com/gym/101612/virtual
     Like  Bookmark
  • 訓練地點:暫定線上,視疫情發展調整。 建議練習時段:週三 18:00~23:00,週六 9:00~14:00。 2021 TOPC後,題組難度會視大家練習情形調整。 To pass NYCU Competitive Programming 3, you must practice 17 of the following problem sets. 2021/09/15 WED https://codeforces.com/gym/101158/virtual 2021/09/18 SAT
     Like  Bookmark
  • Sending E-mail from Your NYCU Account 取得寄信用密碼 登入 Gmail 選擇安全性 啟動二階段認證後,選擇應用程式密碼。 選擇其他,並自訂名稱。
     Like  Bookmark
  • Basic Graph Theory [ ] communicationssatellite [ ] freckles [ ] naturereserve [ ] landline [ ] mallmania [ ] oceancurrents [ ] hidingplaces [ ] knightjump
     Like  Bookmark
  • Dynamic Programming -- Part 2 [ ] kutevi [ ] walrusweights [ ] drivinglanes [ ] watersheds [ ] weightofwords Graph Traversal
     Like  Bookmark
  • Greedy [ ] squarepegs [ ] loowater [ ] delivery [ ] wffnproof [ ] vegetables [ ] simplification [ ] logland [ ] wordspin
     Like  Bookmark
  • Data Structures [ ] abinitio [ ] chopwood [ ] flyingsafely [ ] control [ ] ladice [ ] almostunionfind [ ] tildes [ ] justforsidekicks
     Like  Bookmark
  • 所有題目選自 CP4 Chapter 1。Super Easy 跟 Easy 不算寒假作業範圍,僅提供給寫到哭出來的時候,寫寫水題平緩情緒用。 Super Easy [ ] carrots [ ] planina [ ] faktor [ ] qaly [ ] tarifa [ ] provincesandgold
     Like  Bookmark
  • 本文題目順序由裁判長題目難度,從易到難安排。可用 Python 做出的題目至少有 A, B, D, I, J。題面、測試資料、範例程式在此,可下載。 Problem I - Site Score 難度設定:簽到題。 題意是定義一個假想的 site score 計算公式: $56U_R+24T_R+14U_O+6T_O$,然後輸入檔給定 $U_R,T_R,U_O,T_O$ 四個正整數,請大家計算。本題只需要能夠讀入四個整數,並與給定的參數相乘後相加即可得到答案。 難度構成:入門格式輸出入、入門四則運算。大一才剛開始學的人也可以答對喔。 Problem A - Pac-Man
     Like 1 Bookmark
  • 本文選擇以發生時間順序說明來彙整 2020 ICPC Asia Taiwan Online Programming Contest 過程中發生的一些事故,另有夾帶一些 Clarification 與主辦方對應回應的邏輯。 18:13:55 系統基礎設定未改為網路賽模式、未明確聲明使用 Standard I/O 當時發的 clarification 網路賽因開發機與裁判機環境不同,因此通常不計 compilation error 的 penalty 。另因目前裁判系統主流已經全使用標準輸出入,但因為沒有聲明,補正後人工移除前面使用檔案輸出入的兩筆 submission ,之後使用檔案 I/O 的提交均使用正常批改流程,該算錯誤就算錯誤。 18:43:58 提問 Problem E 因題本上有寫成下面這樣, another 是指「另一個」。
     Like 1 Bookmark
  • Register an ICPC Team === ###### tags: `ICPC` ## Sign Up for Baylor System All members (including contestants and coaches) must have a Baylor system account. 所有成員(包括選手與教練)必須有 Baylor System 的帳號才能註冊隊伍。 Go to the official [website](https://icpc.baylor.edu), and click the sign up button in the top right corner. 前往官方[網站](https://icpc.baylor.edu),並點擊右上角「Sign Up」按鈕。 ![](https://i.imgur.com/VBLTv9n.png) Fill your personal data. **Note: your name should be the one on your passport.** 填入你的個人資料,其中**姓名要與
     Like  Bookmark
  • 2019 ICPC TOPC 簡易講評 === ###### tags: `ICPC` `TOPC` `TOPC2019` [題組資源](https://drive.google.com/open?id=1mg3UvMZUE1l3JbuG6fLmLoVS7dn4ztxv) 本次競賽賽題由交通大學退役選手陳昇暉、莊昕宸、黃右萱協助裁判長命題,並由交通大學資工系蔡孟宗教授,以及中正大學、台灣大學、清華大學、交通大學多位退役選手審查、校對、檢驗測資與撰寫解答驗題。因本次賽事並無爭取到任何經費,在此特別感謝他們的辛勞與無私奉獻。 以下為 2019 ICPC Asia Taiwan Online Programming Contest 的競賽主席兼裁判長謝旻錚對此題組的簡易講評。 ## Problem A -- Animal King Election Problem setter: Min-Zheng Shieh 本題預設目標答對率 100% ,最終答對率近 99% 。題目說由九個公民選出下一任國王,候選人只有兩位: Tiger 跟 Lion 。而且題目保證一定都會投有效票:不是給
     Like  Bookmark
  • 2019 ISSC 部分題目講評 === ###### tags: `ISSC 2019` `Programming Contest` FGH三題的[資料在此可下載](https://drive.google.com/open?id=1y8vvNBQ-LxB5pKhpeg55caQJ_zOxIp6E),內含測試資料與範例程式,主要由盛宇航同學協助完成這次的命題,而也感謝呂爾軒同學協助檢驗題目。 ## Problem F: Fortune 先重點觀察:如果 Frank 已經在某些城市開了 F-store ,則不管之前開店的順序,接下來最好的作法都是一樣的,我們可以把已經開店的城市作為標記來描述子問題,而要解的子問題則是接下來能賺到多少瘋狂消費者的錢。要解的子問題總數量頂多就是所有城市的子集合,共 $2^n$ 個。而第一個開店的城市總共有 $n$ 個可選,因此只要檢查其中 $n$ 個子問題的答案即可。 針對一個子問題,如果已經所有的城市都開店了,那麼就賺不到瘋狂消費者的錢了,此時子問題答案為0。反之,可以賺到的錢會是嘗試過所有可以開店的位置,以「開完該間店馬上可以賺到的錢加上未來可
     Like  Bookmark
  • 2019 ICPC NCPU 簡易講評 === ###### tags: `ICPC` `NCPU` `NCTU` `NCPU2019` [正賽題本](https://drive.google.com/open?id=1RqS5t_8qa77T2Tcxvjo6vqgNQkgkgdY7) [參考測資](https://drive.google.com/open?id=1v6L6O45ILNZ5TJixaQgytggOS-O1D15q) 先貼 Sample code ,有空再來寫點講評。我的專長是胡說八道,如果你認為講評亂寫,那很可能是正常的。如果有疑問想要討論,可以來信 mzshieh@nctu.edu.tw ,我再來研究該如何進行。 工商時間一:如果比賽可以寫 Kotlin 又不會 TLE,那何苦寫 JAVA。 工商時間二:其實也可以用 Python ,但 Python 太夯又在某些硬核題目一定會 TLE ,在規則修改之前,請大家不要立志當個 Python 戰士。 工商時間三:如果有菜雞發現自己被多測資 EOF 結尾坑,請參考 Problem C 跟 Problem E 的 sa
     Like  Bookmark