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:
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
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) {
訓練地點: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
訓練地點:暫定線上,視疫情發展調整。
建議練習時段:週三 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
本文題目順序由裁判長題目難度,從易到難安排。可用 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
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」按鈕。

Fill your personal data. **Note: your name should be the one on your passport.**
填入你的個人資料,其中**姓名要與