原创 2016SDAU編程練習二1009
連連看 Problem Description “連連看”相信很多人都玩過。沒玩過也沒關係,下面我給大家介紹一下遊戲規則:在一個棋盤中,放了很多的棋子。如果某兩個相同的棋子,可以通過一條線連起來(這條線不能經過其它棋子),而且線的轉折
原创 2016SDAU編程練習二1010
Catch him Problem Description 在美式足球中,四分衛負責指揮整隻球隊的進攻戰術和跑位,以及給接球員傳球的任務。四分衛是
原创 2016SDAU編程練習二1016
Red and Black Problem Description There is a rectangular room, covered wi
原创 2016SDAU編程練習二1024
Sequence one Problem Description Search is important in the acm algorithm
原创 2016SDAU編程練習二1020
Prime Ring Problem Problem Description A ring is compose of n circles as
原创 2016SDAU編程練習三1013
Problem M Problem Description 有一頭母牛,它每年年初生一頭小母牛。每頭小母牛從第四個年頭開始,每年年初也生一頭小母牛。請編程實現在第n年的時候,共有多少頭母牛? Inp
原创 2016SDAU編程練習二1025
Sequence two Problem Description Search is important in the acm algorithm. When you want to solve a p
原创 2016SDAU編程練習三1018
Problem R Problem Description Before ACM can do anything, a budget must be prepared and the necessary
原创 2016SDAU編程練習三1004
Problem D Problem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence
原创 2016SDAU編程練習三1011
Problem K Problem Description 有一只經過訓練的蜜蜂只能爬向右側相鄰的蜂房,不能反向爬行。請編程計算蜜蜂從蜂房a爬到蜂房b的可能路線數。<br>其中,蜂房的結構如下所示。<br><img src=../dat
原创 Largest prime factor
Largest prime factor Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submissio
原创 2016.9.25總結
不知不覺開學快一個月了,剛開始的時候真是很難進入狀態,一開學就盼着月餅節,過完了又只想給祖國母親慶生,時間一閃而過,卻沒有學到多少東西,真是後知後覺。 開學這段時間,主要看了單調隊列和線段樹,樹狀數組也看了一些,基本知識是瞭解
原创 2016SDAU編程練習三1007
Problem G Problem Description都說天上不會掉餡餅,但有一天gameboy正走在回家的小徑上,忽然天上掉下大把大把的餡餅。說來gameboy的人品實在是太好了,這餡餅別處都不掉,就掉落在他身旁的10米範圍內。餡
原创 2016SDAU編程練習三1016
Problem P Problem Description 在一無限大的二維平面中,我們做如下假設:<br>1、 每次只能移動一格;<br>2、 不能向後走(
原创 2016SDAU編程練習三1015
Problem O Problem Description Give you a number on base ten,you should output it on base two.(0 <