ICPC-SPOJ
SPOJ的题解
海岛Blog
专注于程序设计及其竞赛,专注于集成电路EDA设计
展开
-
SPOJ-CODESPTB Insertion Sort【插入排序】
Insertion Sort SPOJ - CODESPTBInsertion Sort is a classical sorting technique. One variant of insertion sort works as follows when sorting an array a[1..N] in non-descending order:for i <- 2 to N ...原创 2018-02-20 17:13:54 · 486 阅读 · 0 评论 -
SPOJ-MARBLES Marbles【组合】
Marbles SPOJ - MARBLES Hänschen dreams he is in a shop with an infinite amount of marbles. He is allowed to select n marbles. There are marbles of k different colors. From each color there are also in...原创 2018-03-25 06:49:02 · 417 阅读 · 0 评论 -
SPOJ-TEST Life, the Universe, and Everything【Ad Hoc】
Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small numbers from input to output. Stop processing input a...原创 2018-05-30 08:00:33 · 474 阅读 · 0 评论 -
SPOJ-EIGHTS Triple Fat Ladies【数学规律】
Triple Fat Ladies Pattern Matchers have been designed for various sorts of patterns. Mr. HKP likes to observe patterns in numbers. After completing his extensive research on the squares of numbers, he...原创 2019-01-03 17:46:21 · 257 阅读 · 0 评论 -
SPOJ-NEG2 POJ3191 The Moronic Cowmpouter【进制】
Inexperienced in the digital arts, the cows tried to build a calculating engine (yes, it’s a cowmpouter) using binary numbers (base 2) but instead built one based on base negative 2! They were quite p...原创 2019-07-28 07:43:31 · 293 阅读 · 0 评论