原创 PAT-A-1076 Forwards on Weibo

Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other

原创 PAT-A-1085 Perfect Sequence 【二分查找】

Given a sequence of positive integers and another positive integer p. The sequence is said to be a perfect sequence if 

原创 淺析側供給結構性改革及三去一降一補

背景 改革開放三十多年來,中國經濟持續高速增長,成功步入中等收入國家行列,已成爲名副其實的經濟大國。但隨着人口紅利衰減、“中等收入陷阱”風險累積、國際經濟格局深刻調整等一系列內因與外因的作用,經濟發展正進入“新常態”。 2015年以來,我

原创 PAT-A-1044 Shopping in Mars 【二分查找】 【前綴和】

Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in

原创 PAT-A-1057 Stack 【桶排序】

Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The

原创 PAT刷題過程中用到的algorithm 函數庫

1.lower_bound()  二分查找   (1044)  功能:函數lower_bound()在first和last中的前閉後開區間進行二分查找,返回大於或等於val的第一個元素位置。如果所有元素都小於val,則返回last的位置.

原创 浙江大學-西湖大學聯合培養博士生

浙江大學前身求是書院成立於1897年,是中國人自己最早創辦的新式高等學府之一。經過一百多年的建設和發展,學校已成爲一所基礎堅實、實力雄厚,特色鮮明,居於國內一流水平,在國際上有較大影響的研究型、綜合型大學,是首批進入國家“211工程”、“

原创 上海科技大學信息科學與技術學院夏令營

上海科技大學信息科學與技術學院(以下簡稱“信息學院”)以中國科學院的科研平臺爲支撐,聚焦人工智能、芯片(含計算機架構、電路與器件)、虛擬現實、大數據、量子通信與計算、雲計算與邊緣計算、無人駕駛、電動汽車、新能源、智能醫學等前沿研究領域。學

原创 南開大學統計與數據科學院夏令營

        爲給有志於在統計學、數據科學等領域繼續深造的優秀大學生提供一個開闊學術視野、瞭解學術前沿的機會,南開大學統計與數據科學學院將於2020年7月17日至7月19日,暫定線上舉辦“2020年全國優秀大學生夏令營”活動。    

原创 PAT-A-1072 Gas Station 【Dijkstra】

A gas station has to be built at such a location that the minimum distance between the station and any of the residenti

原创 PAT-A-1084 Broken Keyboard 【散列】

On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to t

原创 PAT-A-1096 Consecutive Factors 【因數分解】

Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be fac

原创 PAT-A-1081 Rational Sum 【最大公約數】【最小公倍數】

Given N rational numbers in the form numerator/denominator, you are supposed to calculate their sum. Input Specificatio

原创 天津大學 智能成像與重建團隊夏令營

一、團隊介紹: 天津大學智能成像與重建團隊由來自智能與計算學部、自動化學院、精儀學院的6名老師組成,包括教授2名,副教授4名。團隊6名成員來自4個學科,有享譽國際學術界的學術帶頭人,有活躍在各自學科領域的一線研究者,團隊的多學科交叉合作可

原创 PAT-A-1054 The Dominant Color 【散列】

Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each