原创 hdu 1100 trees made to order

Trees Made to Order Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submissi

原创 C語言裏面struct的位分配

去小米筆試,遇到一道題: 對於 32 位操作系統, 不考慮邊界對齊, sizeof (A) = __ struct A {     char t:4;     char k:4;     unsigned short i:

原创 uva 107 the cat in the hat

 The Cat in the Hat  Background (An homage to Theodore Seuss Geisel) The Cat in the Hat is a nasty creature, But th

原创 百度 PC客戶端研發工程師 筆試題目

 簡答 1.C++指針參數與引用參數的差異; 2.windows裝載DLL在哪搜尋; 3.多線程如何優雅地退出線程; 算法 1.寫樹非遞歸的先根遍

原创 uva 864 scheme pretty printing

Scheme Pretty-Printing  Scheme is an expression language. This means that everything that is entered to the Scheme

原创 uva 10237 bishops

Problem B BishopsInput: standard inputOutput: standard outputTime Limit: 4 secondsMemory Limit: 32 MB   A bishop

原创 hdu 4069 squiggly sudoku

Squiggly Sudoku Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s

原创 acm/icpc live archive regional 1998 europe central problem d, spoj 45 commedia dell arte

  Commedia dell' arte  So called commedia dell' arte is a theater genre first played at Italy in the beginning of t

原创 hdu 1294 rooted trees problem

Rooted Trees Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submiss

原创 hdu 1492 the numbers of divisors about humble numbers

The number of divisors(約數) about Humble Numbers Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K

原创 uva 648 steps

Steps PC/UVa IDs: 110608/846, Popularity: A, Success rate: high Level: 2 Consider the process of stepping from integer

原创 hdu 1465

不容易系列之一 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 729

原创 zoj 3500 island communication

Island Communication Time Limit: 2 Seconds      Memory Limit: 65536 KB Once upon a time, human have not invented bo

原创 acm/icpc live archive 2481, world final 2002 problem h. silly sort

Your younger brother has an assignment and needs some help. His teacher gave him a sequence of numbers to be sorted in

原创 hdu 1027 ignatius and the princess ii

Ignatius and the Princess II Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total