原创 sgu 154. Factorial 二分
154. Factorialtime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputY
原创 sgu 184. Patties 基礎
184. Pattiestime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputPet
原创 sgu 347. Join the Strings 字符串比較
347. Join the StringsTime limit per test: 0.25 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardHis
原创 sgu 113. Nearly prime numbers 素數
113. Nearly prime numberstime limit per test: 0.25 sec. memory limit per test: 4096 KBNearly prime number is an integer
原创 sgu 398. Friends of Friends 集合set
398. Friends of FriendsTime limit per test: 0.25 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardS
原创 sgu 538. Emoticons 水
538. EmoticonsTime limit per test: 1 second(s)Memory limit: 262144 kilobytesinput: standardoutput: standardA berland na
原创 sgu 130. Circle 卡特蘭數
130. Circletime limit per test: 0.25 sec. memory limit per test: 4096 KBOn a circle border there are 2k different point
原创 sgu 231. Prime Sum 素數篩選
231. Prime Sumtime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standardoutput: standardFind all pairs
原创 sgu 115. Calendar 水
115. Calendartime limit per test: 0.25 sec. memory limit per test: 4096 KBFirst year of new millenium is gone away. In
原创 sgu 519. 3D City Model
519. 3D City ModelTime limit per test: 0.25 second(s)Memory limit: 262144 kilobytesinput: standardoutput: standardA cit
原创 sgu 133. Border 貪心
133. Bordertime limit per test: 0.25 sec. memory limit per test: 4096 KBAlong the border between states A and B there a
原创 sgu 101. Domino 歐拉回路
101. Dominotime limit per test: 0.25 sec. memory limit per test: 4096 KBDominoes – game played with small, rectangular
原创 sgu 275. To xor or not to xor 線性基
275. To xor or not to xortime limit per test: 0.25 sec.memory limit per test: 65536 KBinput: standardoutput: standardTh
原创 sgu 299. Triangle 大數
299. TriangleTime limit per test: 0.5 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardIt is well k
原创 sgu 104. Little shop of flowers 動態規劃找方案
104. Little shop of flowerstime limit per test: 0.25 sec. memory limit per test: 4096 KBPROBLEMYou want to arrange the