原创 1074. Reversing Linked List (25)【鏈表翻轉】——PAT (Advanced Level) Practise

題目信息 1074. Reversing Linked List (25) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B Given a constant K and a singly linke

原创 1073. Scientific Notation (20)【字符串操作】——PAT (Advanced Level) Practise

題目信息 1073. Scientific Notation (20) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B Scientific notation is the way that sci

原创 1078. Hashing (25)【Hash + 探測】——PAT (Advanced Level) Practise

題目信息 1078. Hashing (25) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B The task of this problem is simple: insert a seque

原创 1076. Forwards on Weibo (30)【樹+搜索】——PAT (Advanced Level) Practise

題目信息 1076. Forwards on Weibo (30) 時間限制3000 ms 內存限制65536 kB 代碼長度限制16000 B Weibo is known as the Chinese version of

原创 1077. Kuchiguse (20)【字符串處理】——PAT (Advanced Level) Practise

題目信息 1077. Kuchiguse (20) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B The Japanese language is notorious for its senten

原创 1086. Tree Traversals Again (25)【二叉樹】——PAT (Advanced Level) Practise

題目信息 1086. Tree Traversals Again (25) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B An inorder binary tree traversal can

原创 1083. List Grades (25)【水題】——PAT (Advanced Level) Practise

題目信息 1083. List Grades (25) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B Given a list of N student records with name, I

原创 1080. Graduate Admission (30)【排序】——PAT (Advanced Level) Practise

題目信息 1080. Graduate Admission (30) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B It is said that in 2013, there were abo

原创 1068. Find More Coins (30)【揹包】——PAT (Advanced Level) Practise

題目信息 1068. Find More Coins (30) 時間限制150 ms 內存限制65536 kB 代碼長度限制16000 B Eva loves to collect coins from all over th

原创 1085. Perfect Sequence (25)【二分查找】——PAT (Advanced Level) Practise

題目信息 1085. Perfect Sequence (25) 時間限制300 ms 內存限制65536 kB 代碼長度限制16000 B Given a sequence of positive integers and

原创 1079. Total Sales of Supply Chain (25)【樹+搜索】——PAT (Advanced Level) Practise

題目信息 1079. Total Sales of Supply Chain (25) 時間限制250 ms 內存限制65536 kB 代碼長度限制16000 B A supply chain is a network of

原创 1084. Broken Keyboard (20)【字符串操作】——PAT (Advanced Level) Practise

題目信息 1084. Broken Keyboard (20) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B On a broken keyboard, some of the keys are

原创 1072. Gas Station (30)【最短路dijkstra】——PAT (Advanced Level) Practise

題目信息 1072. Gas Station (30) 時間限制200 ms 內存限制65536 kB 代碼長度限制16000 B A gas station has to be built at such a locatio

原创 1081. Rational Sum (20)【模擬】——PAT (Advanced Level) Practise

題目信息 1081. Rational Sum (20) 時間限制400 ms 內存限制65536 kB 代碼長度限制16000 B Given N rational numbers in the form “numerat

原创 1070. Mooncake (25)【貪心】——PAT (Advanced Level) Practise

題目信息 1070. Mooncake (25) 時間限制100 ms 內存限制65536 kB 代碼長度限制16000 B Mooncake is a Chinese bakery product traditionally