原创 哈希表分離鏈接法--兩種初始化方法及其對比

在教材中多爲第一種方法。實際上可以改變,減少h->tablesize次的malloc()操作 下面是依次是聲明、方法一、方法二: typedef int ElementType; /* hashSep.h */ #ifndef HashS

原创 1095-- Cars on Campus (30)

1006 感謝https://www.nowcoder.com/discuss/478對我的幫助和啓發。 題目: 題目描述   Zhejiang University has 6 campuses and a lot of gates.

原创 1094-- The Largest Generation (25)

1005 題目: 題目描述 A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong t

原创 1091-Acute Stroke (30)

1004 題目 題目描述 One important factor to identify acute stroke (急性腦卒中) is the volume of the stroke core. Given the results

原创 1090- Highest Price in Supply Chain (25)

1003 題目: 題目描述 A supply chain is a network of retailers(零售商), distributors(經銷商), and suppliers(供應商)-- everyone involved

原创 1087-All Roads Lead to Rome(30)

題目: 題目描述 Indeed there are many different tourist routes from our city to Rome.  You are supposed to find your clients t

原创 1018——Public Bike Management Center

題目描述 1001 There is a public bike service in Hangzhou City which provides great convenience to the tourists from all ove

原创 Python中常用的基本語法(一)

p.s. 最近在做NLP的任務,用熟悉的C++做發現C++有很多不方便的地方,尤其是中文編碼的轉化,非常繁瑣。故採用Python。本文主要就基本數據結構、控制流等幾個基本語法方面,給出總結。 參考資料:《Python編程:從入門到實踐》