原创 PAT 甲級 1067 Sort with Swap(0, i) (25 分) 代碼10分鐘,bug 1晚上+1小時 果然還是狀態最重要

1067 Sort with Swap(0, i) (25 分) Given any permutation of the numbers {0, 1, 2,..., N−1}, it is easy to sort them in in

原创 PAT 甲級 1037 Magic Coupon (25 分) 好水的貪心

1037 Magic Coupon (25 分) The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on

原创 PAT 甲級 1033 To Fill or Not to Fill (25 分) 貪心

1033 To Fill or Not to Fill (25 分) With highways available, driving a car from Hangzhou to any other city is easy. But

原创 PAT 甲級 1070 Mooncake (25 分) 簡單貪心

1070 Mooncake (25 分) Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many type

原创 UE4窗口基本操作

移動視角: wasd+鼠標右鍵 廣角的縮放: 放大:Z+鼠標右鍵 縮小:C+鼠標左鍵 攝像機的上升和下降: 上升:q+鼠標右鍵 下降:e+鼠標左鍵 座標軸: 紅色:x 綠色:y 藍色:z   這個三個窗口分別是位移、旋轉、拉伸窗口。

原创 PAT 甲級 1048 Find Coins (25 分)

1048 Find Coins (25 分) Eva loves to collect coins from all over the universe, including some other planets like Mars. O

原创 1041 Be Unique (20 分) PAT 甲級 散列

1041 Be Unique (20 分) Being unique is so important to people on Mars that even their lottery is designed in a unique wa

原创 1080 Graduate Admission (30 分) PAT 甲級 模擬考研 我的代碼+別人的代碼

1080 Graduate Admission (30 分) It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,0

原创 PAT 甲級 1050 String Subtraction (20 分)

1050 String Subtraction (20 分) Given two strings S​1​​ and S​2​​, S=S​1​​−S​2​​ is defined to be the remaining string a

原创 PAT 甲級 散列 1084 Broken Keyboard (20 分)

1084 Broken Keyboard (20 分) On a broken keyboard, some of the keys are worn out. So when you type some sentences, the c

原创 1092 To Buy or Not to Buy (20 分) PAT 甲級 1092 To Buy or Not to Buy (20 分)

1092 To Buy or Not to Buy (20 分) Eva would like to make a string of beads with her favorite colors so she went to a sma

原创 PAT 甲級 1083 List Grades (25 分)

1083 List Grades (25 分) Given a list of N student records with name, ID and grade. You are supposed to sort the records

原创 PAT 甲級 1075 PAT Judge (25 分) 銘記

1075 PAT Judge (25 分) The ranklist of PAT is generated from the status list, which shows the scores of the submissions.

原创 1055 The World's Richest (25 分) PAT 甲級 排序題 解決超時問題

1055 The World's Richest (25 分) Forbes magazine publishes every year its list of billionaires based on the annual ranki

原创 PAT 甲級 1028 List Sorting (25 分) STL +sort

1028 List Sorting (25 分) Excel can sort records according to any column. Now you are supposed to imitate this function.