原创 hdu 1099 lottery
Lottery Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1086
原创 hdu 1171 big event in hdu
Big Event in HDU Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission
原创 uva 10213 how many pieces of land
Problem GHow Many Pieces of Land?Input: Standard InputOutput: Standard OutputTime Limit: 3 seconds You are given an
原创 hdu 1261
字串數 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1430 A
原创 hdu 1510 white rectangles
#include <cstdio> #include <cstdlib> #include <cassert> #define SZ_MAX 110 #define max(x, y) ((x) > (y) ? (x) : (y))
原创 hdu 1153 magic bitstrings
Magic Bitstrings Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submissio
原创 uva 10254 the priest mathematician
Problem I The Priest Mathematician Input: standard input Output: standard output Time Limit: 10 seconds The ancient
原创 uva 10042 smith numbers
Problem D: Smith Numbers Background While skimming his phone directory in 1982, Albert Wilansky, a mathematic
原创 zoj 3578 matrix
Matrix Time Limit: 10 Seconds Memory Limit: 131072 KB A N*M coordinate plane ((0, 0)~(n, m)). Initially the valu
原创 hdu 3363 ice sugar gourd
Ice-sugar Gourd Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(
原创 zoj 3590 -3+1
-3+1 Time Limit: 2 Seconds Memory Limit: 65536 KB ZOJ is 10 years old! For celebrating, we are offering the easies
原创 uva 10049 self describing sequence
Problem C: Selfdescribing Sequence Solomon Golomb's selfdescribing sequence is the only nondecreasing seque
原创 uva 10168 summation of four primes
Problem A Summation of Four Primes Input: standard input Output: standard output Time Limit: 4 seconds Euler proved
原创 uva 10139 factovisors
Problem D: Factovisors The factorial function, n! is defined thus for n a non-negative integer: 0! = 1 n! = n *
原创 zoj 3583 simple path
Simple Path Time Limit: 2 Seconds Memory Limit: 65536 KB A path with no repeated vertices of an undirected graph