C++程序设计习题解答(王挺)
杂项...............................................................................................................................................................................1
背包问题...............................................................................................................................................................1
趣味题...................................................................................................................................................................1
打印万年历...........................................................................................................................................................2
期末考试题...........................................................................................................................................................3
求解 1□23□4□56□7□8□9=100.............................................................................................................................3
Chapter 4.......................................................................................................................................................................4
P103T0410............................................................................................................................................................4
P103T0411............................................................................................................................................................4
P103T0412............................................................................................................................................................4
P103T0413............................................................................................................................................................4
输出不大于的 Fibonacci 数列.............................................................................................................................5
Stein 算法求最大公约数--移位法.......................................................................................................................5
P102 T0415...........................................................................................................................................................5
P102 T0416...........................................................................................................................................................6
P102 T0417...........................................................................................................................................................6
P102 T0419...........................................................................................................................................................6
P102 T0420...........................................................................................................................................................6
P102 T0421...........................................................................................................................................................6
Chapter 5.......................................................................................................................................................................7
p136 T5.5..............................................................................................................................................................7
p136 T5.6..............................................................................................................................................................7
p136 T5.6..............................................................................................................................................................7
p136 T5.10............................................................................................................................................................7
p136 T5.11............................................................................................................................................................8
p137 T5.14............................................................................................................................................................8
p137 T5.16............................................................................................................................................................8
p137 T5.19............................................................................................................................................................8
Chapter 6.......................................................................................................................................................................9
求组合算法...........................................................................................................................................................9
P159 T6.3..............................................................................................................................................................9
P159 T6.4..............................................................................................................................................................9
P159 T6.4..............................................................................................................................................................9
p159 T6.11..........................................................................................................................................................10
p159 T6.12..........................................................................................................................................................10
p159 T6.18..........................................................................................................................................................10
p159 T6.20..........................................................................................................................................................11
Chapter 7.....................................................................................................................................................................11
p195T706............................................................................................................................................................11
p195T707............................................................................................................................................................11
p195T708............................................................................................................................................................11
p195T709............................................................................................................................................................12
P195T710............................................................................................................................................................13
P195T711............................................................................................................................................................13
P196T713............................................................................................................................................................13
Chapter 8.....................................................................................................................................................................14
p222T803............................................................................................................................................................14
p222 T080304.....................................................................................................................................................14
p222T85..............................................................................................................................................................15
p222 T80609.......................................................................................................................................................16
附加.....................................................................................................................................................................16
Chapter 9.....................................................................................................................................................................17
P241 T9.1............................................................................................................................................................17
P241 T9.2............................................................................................................................................................18
P241 T9.3............................................................................................................................................................18
I
- 1
- 2
前往页